[CIFS] cifs sprintf fix

Cc: <alert7@xfocus.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>

+2 -2
+2 -2
fs/cifs/cifs_debug.c
··· 143 143 ses = list_entry(tmp, struct cifsSesInfo, cifsSessionList); 144 144 if((ses->serverDomain == NULL) || (ses->serverOS == NULL) || 145 145 (ses->serverNOS == NULL)) { 146 - buf += sprintf("\nentry for %s not fully displayed\n\t", 147 - ses->serverName); 146 + buf += sprintf(buf, "\nentry for %s not fully " 147 + "displayed\n\t", ses->serverName); 148 148 149 149 } else { 150 150 length =