git.annexia.org
/
febootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c014ec
)
Fix some printf format warnings when -Wall is enabled.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 1 Jun 2011 09:36:42 +0000
(10:36 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 1 Jun 2011 09:36:42 +0000
(10:36 +0100)
helper/init.c
patch
|
blob
|
history
diff --git
a/helper/init.c
b/helper/init.c
index
514146f
..
0ca3135
100644
(file)
--- a/
helper/init.c
+++ b/
helper/init.c
@@
-291,9
+291,9
@@
show_directory (const char *dirname)
}
while ((d = readdir (dir)) != NULL) {
- fprintf (stderr, "%5
d
%c %-16s", d->d_ino, dirtype (d->d_type), d->d_name);
+ fprintf (stderr, "%5
lu
%c %-16s", d->d_ino, dirtype (d->d_type), d->d_name);
if (lstat (d->d_name, &statbuf) >= 0) {
- fprintf (stderr, " %06o %d %d:%d",
+ fprintf (stderr, " %06o %
l
d %d:%d",
statbuf.st_mode, statbuf.st_size,
statbuf.st_uid, statbuf.st_gid);
if (S_ISLNK (statbuf.st_mode)) {