diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-06-01 10:36:42 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-06-01 10:36:42 +0100 |
commit | 84ce1bc019392270456ce34372579bc777d21666 (patch) | |
tree | a3da725eed8e20ed83e071ed838e41148ebecd5e | |
parent | 1c014ec078bf7b435957774bbb0e1812880d731f (diff) | |
download | febootstrap-84ce1bc019392270456ce34372579bc777d21666.tar.gz febootstrap-84ce1bc019392270456ce34372579bc777d21666.tar.xz febootstrap-84ce1bc019392270456ce34372579bc777d21666.zip |
Fix some printf format warnings when -Wall is enabled.
-rw-r--r-- | helper/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helper/init.c b/helper/init.c index 514146f..0ca3135 100644 --- a/helper/init.c +++ b/helper/init.c @@ -291,9 +291,9 @@ show_directory (const char *dirname) } while ((d = readdir (dir)) != NULL) { - fprintf (stderr, "%5d %c %-16s", d->d_ino, dirtype (d->d_type), d->d_name); + fprintf (stderr, "%5lu %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 %ld %d:%d", statbuf.st_mode, statbuf.st_size, statbuf.st_uid, statbuf.st_gid); if (S_ISLNK (statbuf.st_mode)) { |