From f4da51e7b738e538d2ecc2936934740fc82c08ae Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 26 Nov 2010 14:42:24 +0000 Subject: [PATCH] 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 --- scst/src/dev_handlers/scst_vdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index a8c2d0fbd..059bb8bdf 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -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);