Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
rlimits.c: extra arg of printf
- X-seq: zsh-workers 32616
- From: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: rlimits.c: extra arg of printf
- Date: Sun, 18 May 2014 22:03:35 +0900
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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