Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

rlimits.c: extra arg of printf



I noticed this from a compiler warning on FreeBSD9.


diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c
index fd4c94a..0bcafda 100644
--- a/Src/Builtins/rlimits.c
+++ b/Src/Builtins/rlimits.c
@@ -367,7 +367,7 @@ printulimit(char *nam, int lim, int hard, int head)
 # ifdef HAVE_RLIMIT_SBSIZE
     case RLIMIT_SBSIZE:
 	if (head)
-	    printf("-b: socket buffer size (bytes)      ", RLIMIT_SBSIZE);
+	    printf("-b: socket buffer size (bytes)      ");
 	break;
 # endif /* HAVE_RLIMIT_SBSIZE */
 # ifdef HAVE_RLIMIT_PTHREAD





Messages sorted by: Reverse Date, Date, Thread, Author