diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/cifs_debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
213 | tcon->treeName, atomic_read(&tcon->useCount)); | 213 | tcon->treeName, atomic_read(&tcon->useCount)); |
214 | buf += length; | 214 | buf += length; |
215 | if (tcon->nativeFileSystem) { | 215 | if (tcon->nativeFileSystem) { |
216 | length = sprintf("Type: %s ", tcon->nativeFileSystem); | 216 | length = sprintf(buf, "Type: %s ", |
217 | tcon->nativeFileSystem); | ||
217 | buf += length; | 218 | buf += length; |
218 | } | 219 | } |
219 | length = sprintf(buf, "DevInfo: 0x%x Attributes: 0x%x" | 220 | length = sprintf(buf, "DevInfo: 0x%x Attributes: 0x%x" |