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:
Bart Van Assche
2010-11-26 14:42:24 +00:00
parent 515fda68cf
commit f4da51e7b7

View File

@@ -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);