Skip to content

Commit

Permalink
[CIFS] cifs sprintf fix
Browse files Browse the repository at this point in the history
Cc: <alert7@xfocus.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
  • Loading branch information
Steve French committed Jan 21, 2007
1 parent 76849e3 commit bd2abf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/cifs/cifs_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ cifs_debug_data_read(char *buf, char **beginBuffer, off_t offset,
ses = list_entry(tmp, struct cifsSesInfo, cifsSessionList);
if((ses->serverDomain == NULL) || (ses->serverOS == NULL) ||
(ses->serverNOS == NULL)) {
buf += sprintf("\nentry for %s not fully displayed\n\t",
ses->serverName);
buf += sprintf(buf, "\nentry for %s not fully "
"displayed\n\t", ses->serverName);

} else {
length =
Expand Down

0 comments on commit bd2abf1

Please sign in to comment.