* smallprint.c (rn): Change uval to unsigned long long to fix 64 bit

handling.
	* fhandler_process.cc (format_process_maps): Print major, minor and
	inode numbers correctly.
This commit is contained in:
Corinna Vinschen
2005-01-29 13:34:34 +00:00
parent faf07ace92
commit e86f8b7925
3 changed files with 19 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ static char *
rn (char *dst, int base, int dosign, long long val, int len, int pad)
{
/* longest number is ULLONG_MAX, 18446744073709551615, 20 digits */
unsigned uval;
unsigned long long uval;
char res[20];
static const char str[16] = "0123456789ABCDEF";
int l = 0;