Fix a compiler warning about a mismatch between a format specifier and the corresponding argument, noticed by Bart Van Assche <bart.vanassche@gmail.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1285 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2009-10-27 13:12:33 +00:00
parent b38a46b1c8
commit 0f87f052aa

View 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;