summaryrefslogtreecommitdiff
path: root/usr.bin/more/more.c
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-09-28 22:20:50 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-09-28 22:20:50 +0000
commit40b7fa4804ccaf022a55816bd593671897d6e29a (patch)
tree3d29798c297e913a476e9102207109bd4dc4d509 /usr.bin/more/more.c
parent46624a5d8344150da93f7ad75b1ad9be8ce256ea (diff)
Build under OpenBSD. Added OpenBSD tags. Cleanup manpage.
Diffstat (limited to 'usr.bin/more/more.c')
-rw-r--r--usr.bin/more/more.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/more/more.c b/usr.bin/more/more.c
index ae69894203e..5e241c47dce 100644
--- a/usr.bin/more/more.c
+++ b/usr.bin/more/more.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: more.c,v 1.2 1996/09/28 22:20:49 etheisen Exp $ */
/*-
* Copyright (c) 1980 The Regents of the University of California.
* All rights reserved.
@@ -407,7 +408,7 @@ magic(f, fs)
struct exec ex;
if (fread(&ex, sizeof(ex), 1, f) == 1)
- switch(ex.a_magic) {
+ switch(N_GETMAGIC(ex)) {
case OMAGIC:
case NMAGIC:
case ZMAGIC: