- add note about removing superfluous fmt specifiers
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 4 Jun 2006 16:05:02 +0000 (16:05 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 4 Jun 2006 16:05:02 +0000 (16:05 -0000)
TODO

diff --git a/TODO b/TODO
index 2a963ddb9939aad9f929fed7f6ff3107ded06aaf..778e924d8b07feb46357efa2490ea2843fa62191 100644 (file)
--- a/TODO
+++ b/TODO
@@ -259,12 +259,17 @@ Minor stuff:
     if(!ioctl (fd, WDIOC_GETTIMEOUT, &tmo)) timer_duration = 1 + (tmo / 2);
   Unfortunately, that needs linux/watchdog.h and that contains unfiltered
   kernel types on some distros, which breaks the build.
-
+---
   use bb_error_msg where appropriate: See
   egrep "(printf.*\([[:space:]]*(stderr|2)|[^_]write.*\([[:space:]]*(stderr|2))"
-
+---
   use bb_perror_msg where appropriate: See
   egrep "[^_]perror"
+---
+  Remove superfluous fmt occurances: e.g.
+  fprintf(stderr, "%s: %s not found\n", "unalias", *argptr);
+  -> fprintf(stderr, "unalias: %s not found\n", *argptr);
+---
 
 
 Code cleanup: