diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-05-26 08:35:06 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-05-26 08:35:06 +0000 |
commit | 2d9e89228944c7cd4e29bbee79b2a5fc1201d058 (patch) | |
tree | 081d8d4b135524f59e33cf12881b8eee75d413ec | |
parent | 309fd5fb4ae39a5a943e45c65a3b19902b52ef3a (diff) |
ignore longrun struct. eliminates a warning
-rw-r--r-- | sbin/sysctl/sysctl.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index 8d00f340f9b..3a50a6f8a05 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.92 2003/05/14 01:50:33 jfb Exp $ */ +/* $OpenBSD: sysctl.c,v 1.93 2003/05/26 08:35:05 tedu Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -44,7 +44,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.92 2003/05/14 01:50:33 jfb Exp $"; +static char *rcsid = "$OpenBSD: sysctl.c,v 1.93 2003/05/26 08:35:05 tedu Exp $"; #endif #endif /* not lint */ @@ -593,6 +593,11 @@ parse(char *string, int flags) break; } #endif +#ifdef CPU_LONGRUN + if (mib[1] == CPU_LONGRUN) + return; +#endif + break; case CTL_FS: |