diff options
author | 2007-12-08 18:23:24 +0000 | |
---|---|---|
committer | 2007-12-08 18:23:24 +0000 | |
commit | 7e8b829750891e1d548676c5d2b93b97334f7061 (patch) | |
tree | a94da0a9d264687f4168aa2cad8448acabb5a412 | |
parent | forgotten service -> redirection (diff) | |
download | wireguard-openbsd-7e8b829750891e1d548676c5d2b93b97334f7061.tar.xz wireguard-openbsd-7e8b829750891e1d548676c5d2b93b97334f7061.zip |
no need to pre-check for % in dformat, it will fail later anyways
-rw-r--r-- | usr.sbin/pstat/pstat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index e764c523f76..d7c10939292 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pstat.c,v 1.70 2007/11/28 17:02:56 tedu Exp $ */ +/* $OpenBSD: pstat.c,v 1.71 2007/12/08 18:23:24 deraadt Exp $ */ /* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */ /*- @@ -40,7 +40,7 @@ static char copyright[] = #if 0 from: static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94"; #else -static char *rcsid = "$OpenBSD: pstat.c,v 1.70 2007/11/28 17:02:56 tedu Exp $"; +static char *rcsid = "$OpenBSD: pstat.c,v 1.71 2007/12/08 18:23:24 deraadt Exp $"; #endif #endif /* not lint */ @@ -156,8 +156,6 @@ main(int argc, char *argv[]) switch (ch) { case 'd': dformat = optarg; - if (*dformat == '%') - usage(); break; case 'f': fileflag = 1; |