summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2013-11-05 15:17:56 +0000
committerkrw <krw@openbsd.org>2013-11-05 15:17:56 +0000
commit843d8745e2b28f88828378465c6415a39a29fbc7 (patch)
treec3f137df2cf7a2ed958f59d6bfc5ed00c010abfc
parentDL_SETDSIZE() and DL_SETPSIZE() are not the same thing. Use the latter (diff)
downloadwireguard-openbsd-843d8745e2b28f88828378465c6415a39a29fbc7.tar.xz
wireguard-openbsd-843d8745e2b28f88828378465c6415a39a29fbc7.zip
Sigh. How many typos can be made in one diff. Fix DL_SETPSOFFSET() to
be DL_SETPOFFSET().
-rw-r--r--sys/arch/i386/stand/libsa/diskprobe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libsa/diskprobe.c b/sys/arch/i386/stand/libsa/diskprobe.c
index f572113af9a..6a50c9298d8 100644
--- a/sys/arch/i386/stand/libsa/diskprobe.c
+++ b/sys/arch/i386/stand/libsa/diskprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskprobe.c,v 1.36 2013/11/05 13:55:58 krw Exp $ */
+/* $OpenBSD: diskprobe.c,v 1.37 2013/11/05 15:17:56 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -272,12 +272,12 @@ cdprobe(void)
dip->disklabel.d_sbsize = 2048;
/* 'a' partition covering the "whole" disk */
- DL_SETPSOFFSET(&dip->disklabel.d_partitions[0], 0);
+ DL_SETPOFFSET(&dip->disklabel.d_partitions[0], 0);
DL_SETPSIZE(&dip->disklabel.d_partitions[0], 100);
dip->disklabel.d_partitions[0].p_fstype = FS_UNUSED;
/* The raw partition is special */
- DL_SETPSOFFSET(&dip->disklabel.d_partitions[RAW_PART], 0);
+ DL_SETPOFFSET(&dip->disklabel.d_partitions[RAW_PART], 0);
DL_SETPSIZE(&dip->disklabel.d_partitions[RAW_PART], 100);
dip->disklabel.d_partitions[RAW_PART].p_fstype = FS_UNUSED;