summaryrefslogtreecommitdiff
path: root/usr.bin/indent/args.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-06-25 04:58:32 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-06-25 04:58:32 +0000
commitbb8223788cfdbc45c4e8538b2567bb048f305a57 (patch)
tree94edf26dd08dc068c11311c981c1581399b2f447 /usr.bin/indent/args.c
parentc0133c8efd4819d9e51e67bc7823a61a6588a7ac (diff)
errx -> err if ENOMEM
Diffstat (limited to 'usr.bin/indent/args.c')
-rw-r--r--usr.bin/indent/args.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/indent/args.c b/usr.bin/indent/args.c
index 8cab02c1cd7..fcdb807f6a1 100644
--- a/usr.bin/indent/args.c
+++ b/usr.bin/indent/args.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: args.c,v 1.6 2001/01/08 07:14:42 pjanzen Exp $ */
+/* $OpenBSD: args.c,v 1.7 2001/06/25 04:58:31 pjanzen Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#ifndef lint
/*static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: args.c,v 1.6 2001/01/08 07:14:42 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: args.c,v 1.7 2001/06/25 04:58:31 pjanzen Exp $";
#endif /* not lint */
/*
@@ -287,7 +287,7 @@ found:
{
char *str;
if ((str = strdup(param_start)) == NULL)
- errx(1, "out of memory");
+ err(1, NULL);
addkey(str, 4);
}
break;