summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-07-12 21:03:39 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-07-12 21:03:39 +0000
commita06ce0c016a3ad7d7e84444a4ec9e33adb42799c (patch)
tree2e066469b742ff1009e0210b9d2d1ee7f2d1e9ae /sys/arch/alpha/stand
parentd719835b4f6a62a6149064eb273956525952de01 (diff)
revert a few stragglers hiding out
Diffstat (limited to 'sys/arch/alpha/stand')
-rw-r--r--sys/arch/alpha/stand/boot/disk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/stand/boot/disk.c b/sys/arch/alpha/stand/boot/disk.c
index 2ad6b590749..5cc4a3dbb1b 100644
--- a/sys/arch/alpha/stand/boot/disk.c
+++ b/sys/arch/alpha/stand/boot/disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disk.c,v 1.14 2014/07/12 18:44:41 tedu Exp $ */
+/* $OpenBSD: disk.c,v 1.15 2014/07/12 21:03:38 tedu Exp $ */
/* $NetBSD: disk.c,v 1.6 1997/04/06 08:40:33 cgd Exp $ */
/*
@@ -156,7 +156,7 @@ diskopen(f, ctlr, unit, part)
if (part >= lp->d_npartitions ||
DL_GETPSIZE(&lp->d_partitions[part]) == 0) {
-bad: free(sc, sizeof(struct disk_softc), 0);
+bad: free(sc, sizeof(struct disk_softc));
return (ENXIO);
}
return (0);
@@ -170,7 +170,7 @@ diskclose(f)
sc = f->f_devdata;
(void)prom_close(sc->sc_fd);
- free(sc, sizeof(struct disk_softc), 0);
+ free(sc, sizeof(struct disk_softc));
f->f_devdata = NULL;
return (0);
}