summaryrefslogtreecommitdiff
path: root/sys/conf/newvers.sh
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-06-29 21:02:53 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-06-29 21:02:53 +0000
commit6c0cbd0961931b28647ef3e5f42668a3f66df0f4 (patch)
tree9666bebbbe7d815c979e4008a0d4dd3352ee4254 /sys/conf/newvers.sh
parentca25e022f078e36e47224e252b65c68d25ad7897 (diff)
Make uname(1) and uname(3) do sane things for the version field; now will
show only "KERNEL#build".
Diffstat (limited to 'sys/conf/newvers.sh')
-rw-r--r--sys/conf/newvers.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index f27e4a2b8f0..24ee587011c 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -49,6 +49,7 @@ osr="1.2"
echo "char ostype[] = \"${ost}\";" > vers.c
echo "char osrelease[] = \"${osr}\";" >> vers.c
+echo "char osversion[] = \"${id}#${v}\";" >> vers.c
echo "char sccs[8] = { ' ', ' ', ' ', ' ', '@', '(', '#', ')' };" >> vers.c
echo \
"char version[] = \