diff options
author | etheisen <etheisen@cvs.openbsd.org> | 1996-09-28 22:20:50 +0000 |
---|---|---|
committer | etheisen <etheisen@cvs.openbsd.org> | 1996-09-28 22:20:50 +0000 |
commit | 40b7fa4804ccaf022a55816bd593671897d6e29a (patch) | |
tree | 3d29798c297e913a476e9102207109bd4dc4d509 /usr.bin/more/more.c | |
parent | 46624a5d8344150da93f7ad75b1ad9be8ce256ea (diff) |
Build under OpenBSD. Added OpenBSD tags. Cleanup manpage.
Diffstat (limited to 'usr.bin/more/more.c')
-rw-r--r-- | usr.bin/more/more.c | 3 |
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: |