diff options
author | peter <peter@FreeBSD.org> | 1996-09-03 13:35:11 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-09-03 13:35:11 +0000 |
commit | 0692a293b61a792c8d1512d756cedb72e9e3aa07 (patch) | |
tree | 0699eb7382fa699dc336b4036009b7c6fa754bd8 /bin/sh/histedit.c | |
parent | 122fd3e75ae6b15ec0fc3b93cb72d3222b3e6a30 (diff) | |
download | FreeBSD-src-0692a293b61a792c8d1512d756cedb72e9e3aa07.zip FreeBSD-src-0692a293b61a792c8d1512d756cedb72e9e3aa07.tar.gz |
Misc cleanups and fixes from Bruce:
- don't put \n on error() calls, error adds it already.
- don't prepend "ulimit" on error() calls in miscbltin.c.
- getopt typo on ulimit -p -> -u conversion
- get/setrlimit() calls were not being error checked
ulimit formatting cleanup from me, use same wording as bash on Bruce's
suggestion. Add ulimit arg to output on Joerg's suggestion.
Diffstat (limited to 'bin/sh/histedit.c')
-rw-r--r-- | bin/sh/histedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c index 56f4d02..6d5e280 100644 --- a/bin/sh/histedit.c +++ b/bin/sh/histedit.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: histedit.c,v 1.4 1995/05/30 00:07:14 rgrimes Exp $ + * $Id: histedit.c,v 1.5 1996/09/01 10:20:12 peter Exp $ */ #ifndef lint @@ -328,7 +328,7 @@ histcmd(argc, argv) error("can't create temporary file %s", editfile); if ((efp = fdopen(fd, "w")) == NULL) { close(fd); - error("can't allocate stdio buffer for temp\n"); + error("can't allocate stdio buffer for temp"); } } |