diff options
author | jilles <jilles@FreeBSD.org> | 2011-05-15 22:09:27 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2011-05-15 22:09:27 +0000 |
commit | 14adb603eff500741284c8ad2aadfdcec9598d91 (patch) | |
tree | c522d3db8b6c01d976c4aa0fed250844616ca13b /bin/sh/miscbltin.c | |
parent | 092240b113c0b5cc26c8d7533270d362bfc24e6c (diff) | |
download | FreeBSD-src-14adb603eff500741284c8ad2aadfdcec9598d91.zip FreeBSD-src-14adb603eff500741284c8ad2aadfdcec9598d91.tar.gz |
sh: Minor optimization to output from ulimit/export/readonly.
No functional change is intended.
Diffstat (limited to 'bin/sh/miscbltin.c')
-rw-r--r-- | bin/sh/miscbltin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c index dc200b6..fce13b5 100644 --- a/bin/sh/miscbltin.c +++ b/bin/sh/miscbltin.c @@ -465,7 +465,7 @@ ulimitcmd(int argc __unused, char **argv __unused) "(-%c) ", l->option); out1fmt("%-18s %18s ", l->name, optbuf); if (val == RLIM_INFINITY) - out1fmt("unlimited\n"); + out1str("unlimited\n"); else { val /= l->factor; @@ -491,7 +491,7 @@ ulimitcmd(int argc __unused, char **argv __unused) val = limit.rlim_max; if (val == RLIM_INFINITY) - out1fmt("unlimited\n"); + out1str("unlimited\n"); else { val /= l->factor; |