Browse Source

[CIFS] missing field in debug output from previous fix

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 17 years ago
parent
commit
a23d306981
1 changed files with 2 additions and 1 deletions
  1. 2 1
      fs/cifs/cifs_debug.c

+ 2 - 1
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));
 				 tcon->treeName, atomic_read(&tcon->useCount));
 		buf += length;
 		buf += length;
 		if (tcon->nativeFileSystem) {
 		if (tcon->nativeFileSystem) {
-			length = sprintf("Type: %s ", tcon->nativeFileSystem);
+			length = sprintf(buf, "Type: %s ",
+					 tcon->nativeFileSystem);
 			buf += length;
 			buf += length;
 		}
 		}
 		length = sprintf(buf, "DevInfo: 0x%x Attributes: 0x%x"
 		length = sprintf(buf, "DevInfo: 0x%x Attributes: 0x%x"