diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-15 16:48:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-15 16:48:08 +0000 |
commit | df0616f116a54d80daf06c421352f7998570619b (patch) | |
tree | 829bf6f0ea3db5b25c0cf77ab5596ce2b57f6164 /usr.bin/finger | |
parent | 5168edc4346bf2431e4863a1238eb9feb376d1dd (diff) |
oops
Diffstat (limited to 'usr.bin/finger')
-rw-r--r-- | usr.bin/finger/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/finger/util.c b/usr.bin/finger/util.c index 669346aa14b..86b1d491acf 100644 --- a/usr.bin/finger/util.c +++ b/usr.bin/finger/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.13 2001/01/10 20:10:36 deraadt Exp $ */ +/* $OpenBSD: util.c,v 1.14 2001/01/15 16:48:07 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -39,7 +39,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)util.c 5.14 (Berkeley) 1/17/91";*/ -static char rcsid[] = "$OpenBSD: util.c,v 1.13 2001/01/10 20:10:36 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: util.c,v 1.14 2001/01/15 16:48:07 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -86,7 +86,7 @@ char * estrdup(char *s) { char *p = strdup(s); - if (p) + if (!p) err(1, "stdup"); return (p); } |