mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user