mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
Follow-up for r2837: fixed a typo.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2838 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -5019,7 +5019,7 @@ static int vcdrom_write_proc(char *buffer, char **start, off_t offset,
|
||||
if ((length == 0) || (buffer == NULL) || (buffer[0] == '\0'))
|
||||
goto out;
|
||||
|
||||
i_buf = kasnprintf(GFP_KERNEL, "%.*s", (int)length, buffer);
|
||||
i_buf = kasprintf(GFP_KERNEL, "%.*s", (int)length, buffer);
|
||||
if (i_buf == NULL) {
|
||||
PRINT_ERROR("Unable to alloc intermediate buffer with size %d",
|
||||
length+1);
|
||||
|
||||
Reference in New Issue
Block a user