diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2007-03-21 03:29:06 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2007-03-21 03:29:06 +0000 |
commit | 9028ab92002bc3988ee73c40fcb55601638d83ea (patch) | |
tree | 479a7144604672c81988f11092a87d7901942450 /sys/arch | |
parent | 4780100c10d8ff2d26d4c9f55bb3eb7e8cac51c5 (diff) |
remove extra *p test, from charles longeau
ok deraadt millert
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/zaurus/stand/zboot/cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/zaurus/stand/zboot/cmd.c b/sys/arch/zaurus/stand/zboot/cmd.c index 028eaa8920c..0c9484337de 100644 --- a/sys/arch/zaurus/stand/zboot/cmd.c +++ b/sys/arch/zaurus/stand/zboot/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.2 2005/05/11 16:42:15 deraadt Exp $ */ +/* $OpenBSD: cmd.c,v 1.3 2007/03/21 03:29:05 tedu Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -397,7 +397,7 @@ Xstty(void) cnspeed(dev, -1)); else { sp = 0; - for (cp = cmd.argv[2]; *cp && isdigit(*cp); cp++) + for (cp = cmd.argv[2]; isdigit(*cp); cp++) sp = sp * 10 + (*cp - '0'); cnspeed(dev, sp); } |