summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-09-15 03:43:47 +0000
committerSteve French <sfrench@us.ibm.com>2007-09-15 03:43:47 +0000
commita23d30698190f05491a6096f027311f94d4d26d5 (patch)
tree7aa08f4bf65e2988d5f7bf3fcd484b7456adeb6e /fs/cifs
parent88f370a688e765de9755a343702ca04e6817e5f5 (diff)
[CIFS] missing field in debug output from previous fix
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/cifs_debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c
index 0356694b5cd..56c5d9126f5 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"