aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2015-02-06 10:34:06 +0100
committerKarel Zak <kzak@redhat.com>2015-02-06 10:34:06 +0100
commit99923244096b6c12d622eaf8ff2de3a74364a39d (patch)
treeb1c40e58e24113e5020fe4d66aeaa0109a1aae8e
parentf93993b746236f7bf792924c175f8894a447c6aa (diff)
downloadutil-linux-playground-99923244096b6c12d622eaf8ff2de3a74364a39d.tar.gz
libfdisk: fix compiler warning
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--libfdisk/src/dos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c
index de54bea123..dce9829eb1 100644
--- a/libfdisk/src/dos.c
+++ b/libfdisk/src/dos.c
@@ -1201,7 +1201,7 @@ static int add_partition(struct fdisk_context *cxt, size_t n,
/* Don't try to be smart on very small partitions and don't
* align so small sizes, just follow the resurst */
isrel = 0;
- DBG(LABEL, ul_debug("DOS: don't align end os tiny partition [start=%ju, stop=%ju, grain=%ju]",
+ DBG(LABEL, ul_debug("DOS: don't align end os tiny partition [start=%ju, stop=%ju, grain=%lu]",
start, stop, cxt->grain));
}