A printf format fix and a warnning fix.

(Logical change 1.507)
This commit is contained in:
!uv 2004-08-20 12:18:22 +00:00
parent 868e8aa002
commit cb04792793

View File

@ -362,7 +362,7 @@ static void dump_resident_attr_val(ATTR_TYPES type, char *val, u32 val_len)
printf("%s\n", todo);
return;
case AT_VOLUME_NAME:
printf("Volume name length = %i\n", val_len);
printf("Volume name length = %u\n", (unsigned int)val_len);
if (val_len) {
buf = calloc(1, val_len);
if (!buf)