Fix a compiler warning about a mismatch between a format specifier and the correspond...
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 27 Oct 2009 13:12:33 +0000 (13:12 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 27 Oct 2009 13:12:33 +0000 (13:12 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1285 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scst/src/scst_sysfs.c

index 730064b..68a86dd 100644 (file)
@@ -1260,7 +1260,7 @@ static int scst_write_trace(const char *buf, size_t length,
 
        buffer = kmalloc(length+1, GFP_KERNEL);
        if (buffer == NULL) {
-               PRINT_ERROR("Unable to alloc intermediate buffer (size %d)",
+               PRINT_ERROR("Unable to alloc intermediate buffer (size %zd)",
                        length+1);
                res = -ENOMEM;
                goto out;