diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-11-16 15:29:19 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-11-16 15:29:19 +0000 |
commit | 898add1e76b48eeb852e78d360ad0ea53c200686 (patch) | |
tree | 36f2916283c1feff3bc81ca63ec6e693f4e6924d /sys/dev | |
parent | d782ce7c0e0d9be49ee1e264a730a93ad2d27c35 (diff) |
fix up pointer alignment for buffers
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_xl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_xl.c b/sys/dev/pci/if_xl.c index ec5653ed8b5..69f45fded6a 100644 --- a/sys/dev/pci/if_xl.c +++ b/sys/dev/pci/if_xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xl.c,v 1.13 1998/11/11 23:25:02 jason Exp $ */ +/* $OpenBSD: if_xl.c,v 1.14 1998/11/16 15:29:18 jason Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1533,7 +1533,7 @@ xl_attach(config_id, unit) if (round % 8) { round++; roundptr++; - } + } else break; } sc->xl_ldata = (struct xl_list_data *)roundptr; @@ -3122,8 +3122,8 @@ xl_attach(parent, self, aux) if (round % 8) { round++; roundptr++; - } - break; + } else + break; } sc->xl_ldata = (struct xl_list_data *)roundptr; bzero(sc->xl_ldata, sizeof(struct xl_list_data)); |