diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-03-27 04:39:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-03-27 04:39:40 +0000 |
commit | ea04172c2de7166d55587bd419b310ac650215a8 (patch) | |
tree | c96cb42870f18e35b715dd460535ce873d960560 /sys/kern/kern_sysctl.c | |
parent | f7b95b5aea5e03410c4d9cd3739a28882a44673c (diff) |
Make kern.osrevision (sysctl) and /kern/osrev report value of
OpenBSD define, not BSD which is a bit more useful.
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r-- | sys/kern/kern_sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 5403b77c551..f9d638bf1ce 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sysctl.c,v 1.14 1997/03/26 17:23:50 deraadt Exp $ */ +/* $OpenBSD: kern_sysctl.c,v 1.15 1997/03/27 04:39:35 millert Exp $ */ /* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */ /*- @@ -217,7 +217,7 @@ kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) case KERN_OSRELEASE: return (sysctl_rdstring(oldp, oldlenp, newp, osrelease)); case KERN_OSREV: - return (sysctl_rdint(oldp, oldlenp, newp, BSD)); + return (sysctl_rdint(oldp, oldlenp, newp, OpenBSD)); case KERN_OSVERSION: return (sysctl_rdstring(oldp, oldlenp, newp, osversion)); case KERN_VERSION: |