diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-11 06:22:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-11 06:22:16 +0000 |
commit | 4e11c004395b80e095e2512274ee143f75b923f2 (patch) | |
tree | 7dd90385c7fc68e56457d473631e3db8896270d2 /sbin/sysctl/sysctl.c | |
parent | 5dd7b59250a41ff74475db0fc6290dc6b029d96d (diff) |
ansification
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r-- | sbin/sysctl/sysctl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index c7827cde36f..9b7c3095ed9 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.94 2003/06/02 20:06:17 millert Exp $ */ +/* $OpenBSD: sysctl.c,v 1.95 2003/06/11 06:22:15 deraadt Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95"; #else -static char *rcsid = "$OpenBSD: sysctl.c,v 1.94 2003/06/02 20:06:17 millert Exp $"; +static char *rcsid = "$OpenBSD: sysctl.c,v 1.95 2003/06/11 06:22:15 deraadt Exp $"; #endif #endif /* not lint */ @@ -1607,7 +1607,8 @@ sysctl_malloc(char *string, char **bufpp, int mib[], int flags, int *typep) if (lp.list == NULL) return (-1); lp.size = stor + 2; - for (i = 1; (lp.list[i].ctl_name = strsep(&buf, ",")) != NULL; i++) { + for (i = 1; + (lp.list[i].ctl_name = strsep(&buf, ",")) != NULL; i++) { if (lp.list[i].ctl_name[0] == '\0') { i--; continue; |