Page MenuHomeFreeBSD

D15131.diff
No OneTemporary

D15131.diff

Index: tools/diag/prtblknos/prtblknos.c
===================================================================
--- tools/diag/prtblknos/prtblknos.c
+++ tools/diag/prtblknos/prtblknos.c
@@ -97,14 +97,14 @@
printf("empty file\n");
return;
}
- printf("regular file, size %ld\n", size);
+ printf("regular file, size %jd\n", (uintmax_t)size);
break;
case IFDIR:
if (size == 0) {
printf("empty directory\n");
return;
}
- printf("directory, size %ld\n", size);
+ printf("directory, size %jd\n", (uintmax_t)size);
break;
}
numblks = howmany(size, fs->fs_bsize);

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 16, 7:11 PM (11 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39025874
Default Alt Text
D15131.diff (592 B)

Event Timeline