This commit is contained in:
cgd 1998-02-07 00:03:19 +00:00
parent 610e7210d9
commit 0aa4deb7f3
2 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: common.h,v 1.3 1997/10/16 23:24:26 lukem Exp $ */
/* $NetBSD: common.h,v 1.4 1998/02/07 00:03:19 cgd Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: common.h,v 1.3 1997/10/16 23:24:26 lukem Exp $
* $NetBSD: common.h,v 1.4 1998/02/07 00:03:19 cgd Exp $
*
*/
@ -60,7 +60,7 @@ struct if_info {
char if_name[IFNAME_SIZE]; /* Interface Name */
int (*iopen) __P((char *, int, u_short, int));
/* Interface Open Routine */
int (*write) __P((int, u_char *, int, int));;
int (*write) __P((int, u_char *, int, int));
/* Interface Write Routine */
void (*read) __P((void)); /* Interface Read Routine */
struct if_info *next; /* Next Interface */

View File

@ -1,4 +1,4 @@
/* $NetBSD: file.c,v 1.4 1997/10/16 23:24:35 lukem Exp $ */
/* $NetBSD: file.c,v 1.5 1998/02/07 00:03:22 cgd Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: file.c,v 1.4 1997/10/16 23:24:35 lukem Exp $");
__RCSID("$NetBSD: file.c,v 1.5 1998/02/07 00:03:22 cgd Exp $");
#endif
#include "os.h"
@ -334,6 +334,7 @@ getMID(old_mid,new_mid)
break;
#endif
default:
break;
}
return(mid);
@ -508,6 +509,7 @@ GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill,
ex.a_drsize= mopFileGetBX((u_char *)&ex_swap, 28, 4);
break;
default:
break;
}
printf("a.out image (");
@ -559,6 +561,7 @@ GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill,
break;
#endif
default:
break;
}
printf(") Magic: ");
switch (N_GETMAGIC (ex)) {