]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: fix compiler warning
authorKarel Zak <kzak@redhat.com>
Fri, 6 Feb 2015 09:34:06 +0000 (10:34 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 6 Feb 2015 09:34:06 +0000 (10:34 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/dos.c

index de54bea1234c0ee1f1ae43e03d6b02ba712d25ae..dce9829eb107860d9484dbfc40bd7f31a7bdda9b 100644 (file)
@@ -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));
        }