Fix a minor bug in xl_attach() where the list buffer region is rounded

to a longword boundary.

Noticed by: Jason Wright <jason@thought.net>
This commit is contained in:
Bill Paul 1998-11-18 16:46:53 +00:00
parent 40fc4ee2de
commit eb90b606c2

View File

@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: if_xl.c,v 1.58 1998/10/22 16:37:55 wpaul Exp $
* $Id: if_xl.c,v 1.16 1998/10/22 16:46:26 wpaul Exp $
*/
/*
@ -147,7 +147,7 @@
#ifndef lint
static char rcsid[] =
"$Id: if_xl.c,v 1.58 1998/10/22 16:37:55 wpaul Exp $";
"$Id: if_xl.c,v 1.16 1998/10/22 16:46:26 wpaul Exp $";
#endif
/*
@ -1444,7 +1444,7 @@ xl_attach(config_id, unit)
if (round % 8) {
round++;
roundptr++;
}
} else
break;
}
sc->xl_ldata = (struct xl_list_data *)roundptr;