=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/more/Attic/more.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/more/Attic/more.c 1996/09/28 21:58:46 1.1 +++ src/usr.bin/more/Attic/more.c 1996/09/28 22:20:49 1.2 @@ -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 @@ 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: