diff options
author | Ruediger Meier | 2017-12-01 20:57:24 +0100 |
---|---|---|
committer | Ruediger Meier | 2018-01-09 23:12:19 +0100 |
commit | 845dac5f8e61137f4c311aa2767c4bc5b7b6aae8 (patch) | |
tree | 97c514401dd92c7474d4b6b1495b7074a3766f68 | |
parent | fallocate: remove typo (diff) | |
download | kernel-qcow2-util-linux-845dac5f8e61137f4c311aa2767c4bc5b7b6aae8.tar.gz kernel-qcow2-util-linux-845dac5f8e61137f4c311aa2767c4bc5b7b6aae8.tar.xz kernel-qcow2-util-linux-845dac5f8e61137f4c311aa2767c4bc5b7b6aae8.zip |
misc: fix printf i386 compiler warnings
sys-utils/lsns.c:683:2: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘ino_t’ [-Werror=format=]
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
-rw-r--r-- | sys-utils/lsns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/lsns.c b/sys-utils/lsns.c index eea04c73c..a9437aacb 100644 --- a/sys-utils/lsns.c +++ b/sys-utils/lsns.c @@ -680,7 +680,7 @@ static int nsfs_xasputs(char **str, char *expected_root; struct libmnt_fs *fs = NULL; - xasprintf(&expected_root, "%s:[%lu]", ns_names[ns->type], ns->id); + xasprintf(&expected_root, "%s:[%ju]", ns_names[ns->type], (uintmax_t)ns->id); *str = NULL; while (mnt_table_find_next_fs(tab, itr, is_nsfs_root, |