From: Steve French Date: Sat, 15 Sep 2007 03:43:47 +0000 (+0000) Subject: [CIFS] missing field in debug output from previous fix X-Git-Tag: firefly_0821_release~24754^2~37 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a23d30698190f05491a6096f027311f94d4d26d5;p=firefly-linux-kernel-4.4.55.git [CIFS] missing field in debug output from previous fix Signed-off-by: Steve French --- diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index 0356694b5cd0..56c5d9126f50 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c @@ -213,7 +213,8 @@ cifs_debug_data_read(char *buf, char **beginBuffer, off_t offset, tcon->treeName, atomic_read(&tcon->useCount)); buf += length; if (tcon->nativeFileSystem) { - length = sprintf("Type: %s ", tcon->nativeFileSystem); + length = sprintf(buf, "Type: %s ", + tcon->nativeFileSystem); buf += length; } length = sprintf(buf, "DevInfo: 0x%x Attributes: 0x%x"