Pass the correct number of arguments to readdisklabel().

This commit is contained in:
thorpej 1995-12-09 07:31:03 +00:00
parent 498f9ca1e7
commit 862bb3adc1
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rd.c,v 1.15 1995/12/02 18:22:10 thorpej Exp $ */
/* $NetBSD: rd.c,v 1.16 1995/12/09 07:31:07 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -442,7 +442,7 @@ rdgetinfo(dev)
/*
* Now try to read the disklabel
*/
msg = readdisklabel(rdlabdev(dev), rdstrategy, lp);
msg = readdisklabel(rdlabdev(dev), rdstrategy, lp, NULL);
if (msg == NULL)
return(0);

View File

@ -1,4 +1,4 @@
/* $NetBSD: sd.c,v 1.19 1995/12/02 18:22:16 thorpej Exp $ */
/* $NetBSD: sd.c,v 1.20 1995/12/09 07:31:03 thorpej Exp $ */
/*
* Copyright (c) 1990, 1993
@ -538,7 +538,7 @@ sdgetinfo(dev)
/* XXX ensure size is at least one device block */
lp->d_partitions[2].p_size =
roundup(LABELSECTOR+1, btodb(sc->sc_blksize));
msg = readdisklabel(sdlabdev(dev), sdstrategy, lp);
msg = readdisklabel(sdlabdev(dev), sdstrategy, lp, NULL);
if (msg == NULL)
return (0);
}