* rlimits.c: extra arg of printf
@ 2014-05-18 13:03 Jun T.
0 siblings, 0 replies; only message in thread
From: Jun T. @ 2014-05-18 13:03 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-18 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-18 13:03 rlimits.c: extra arg of printf Jun T.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).