Fix a warning that shows up on big-endian machines.

This commit is contained in:
kenh 1998-11-20 18:27:40 +00:00
parent 7e21eb25d4
commit 1074143fcc
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: atactl.c,v 1.1 1998/11/19 23:55:00 kenh Exp $ */
/* $NetBSD: atactl.c,v 1.2 1998/11/20 18:27:40 kenh Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -274,8 +274,8 @@ device_identify(argc, argv)
struct ataparams *inqbuf;
struct atareq req;
unsigned char inbuf[DEV_BSIZE];
int i;
#if BYTE_ORDER == LITTLE_ENDIAN
int i;
u_int16_t *p;
#endif