From: Derrick Brashear Date: Sun, 24 Apr 2005 01:58:37 +0000 (+0000) Subject: STABLE14-linux-osi-module-proc-csdb-sprintf-bug-20050423 X-Git-Tag: openafs-devel-1_3_82~35 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d3b05c7b4a8a3ca217630eddcf6fc2cb5316cb1b;p=packages%2Fo%2Fopenafs.git STABLE14-linux-osi-module-proc-csdb-sprintf-bug-20050423 FIXES 18334 remove extraneous %s (cherry picked from commit 784854caceb5b9fa6e1a6db1446887b99b4bb14e) --- diff --git a/src/afs/LINUX/osi_module.c b/src/afs/LINUX/osi_module.c index 7a75902d4..86da2b561 100644 --- a/src/afs/LINUX/osi_module.c +++ b/src/afs/LINUX/osi_module.c @@ -104,7 +104,7 @@ length) (int)((addr>>24) & 0xff), (int)((addr>>16) & 0xff), (int)((addr>>8) & 0xff), (int)( addr & 0xff)); - sprintf(temp, "%s #%s%s\n", tbuffer, tbuffer); + sprintf(temp, "%s #%s\n", tbuffer, tbuffer); sprintf(buffer + len, "%-89s\n", temp); len += 90; if (pos >= offset+length) {