linux-osi-module-proc-csdb-sprintf-bug-20050423
authorDerrick Brashear <shadow@dementia.org>
Sun, 24 Apr 2005 01:54:42 +0000 (01:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 24 Apr 2005 01:54:42 +0000 (01:54 +0000)
FIXES 18334

remove extraneous %s

src/afs/LINUX/osi_module.c

index 5120c50..c4e4834 100644 (file)
@@ -113,7 +113,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) {