From df0616f116a54d80daf06c421352f7998570619b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 15 Jan 2001 16:48:08 +0000 Subject: oops --- usr.bin/finger/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/finger') 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 @@ -86,7 +86,7 @@ char * estrdup(char *s) { char *p = strdup(s); - if (p) + if (!p) err(1, "stdup"); return (p); } -- cgit v1.2.3