Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd2abf17 authored by Steve French's avatar Steve French
Browse files

[CIFS] cifs sprintf fix



Cc: <alert7@xfocus.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 76849e3e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 =