Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/if Make this file compile again.
details: https://anonhg.NetBSD.org/src/rev/310b2a4d026e
branches: trunk
changeset: 473187:310b2a4d026e
user: ragge <ragge%NetBSD.org@localhost>
date: Sun May 23 23:06:24 1999 +0000
description:
Make this file compile again.
diffstat:
sys/arch/vax/if/if_qe.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r ba3abb30f279 -r 310b2a4d026e sys/arch/vax/if/if_qe.c
--- a/sys/arch/vax/if/if_qe.c Sun May 23 23:03:44 1999 +0000
+++ b/sys/arch/vax/if/if_qe.c Sun May 23 23:06:24 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_qe.c,v 1.34 1999/05/18 23:52:54 thorpej Exp $ */
+/* $NetBSD: if_qe.c,v 1.35 1999/05/23 23:06:24 ragge Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -1037,10 +1037,10 @@
* XXX I'll let ragge make this sane. I'm not entirely
* XXX sure what's going on in if_ubaget().
*/
- M_PREPEND(m, sizeof(struct ether_header), M_DONTWWAIT);
+ M_PREPEND(m, sizeof(struct ether_header), M_DONTWAIT);
if (m == NULL)
return;
- *mtod(m, struct ether_header) = *eh;
+ bcopy(eh, mtod(m, caddr_t), sizeof(struct ether_header));
#if NBPFILTER > 0
/*
Home |
Main Index |
Thread Index |
Old Index