]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
Use %zu for size_t
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 30 Jan 2012 15:29:17 +0000 (13:29 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 30 Jan 2012 15:49:40 +0000 (13:49 -0200)
Remove warning on 32 bits systems.

testsuite/uname.c

index fb6469c4beab266820a67105845e557c35d1db48..8e5bdbbdd305b5ac6cedecc9b7a71dd36d73dd2b 100644 (file)
@@ -55,7 +55,7 @@ TS_EXPORT int uname(struct utsname *u)
        sz = strlen(release) + 1;
        if (sz > sizeof(u->release)) {
                fprintf(stderr, "uname(): sizeof release (%s) "
-                               "is greater than available space: %lu",
+                               "is greater than available space: %zu",
                                release, sizeof(u->release));
                errno = -EFAULT;
                return -1;