summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-08-04 16:00:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-08-04 16:00:07 +0000
commit2b9b384c78ccb47b536832cd2da26bac2ae6eae4 (patch)
tree111aca0cb97a41364e3dc597dcb148f56299c92b
parent1d6c57fa7a862f30651da9c7923ca98f417f0b38 (diff)
HW_PHYSMEM and HW_USERMEM should be unsigned; ok tdeval marco
-rw-r--r--sbin/sysctl/sysctl.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index 898bc5d0ea5..8237b97fd71 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.126 2005/08/04 13:00:44 jsg Exp $ */
+/* $OpenBSD: sysctl.c,v 1.127 2005/08/04 16:00:06 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 const char rcsid[] = "$OpenBSD: sysctl.c,v 1.126 2005/08/04 13:00:44 jsg Exp $";
+static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.127 2005/08/04 16:00:06 deraadt Exp $";
#endif
#endif /* not lint */
@@ -475,6 +475,10 @@ parse(char *string, int flags)
if (len < 0)
return;
break;
+ case HW_PHYSMEM:
+ case HW_USERMEM:
+ special |= UNSIGNED;
+ break;
}
break;