diff options
author | 2013-11-05 15:17:56 +0000 | |
---|---|---|
committer | 2013-11-05 15:17:56 +0000 | |
commit | 843d8745e2b28f88828378465c6415a39a29fbc7 (patch) | |
tree | c3f137df2cf7a2ed958f59d6bfc5ed00c010abfc | |
parent | DL_SETDSIZE() and DL_SETPSIZE() are not the same thing. Use the latter (diff) | |
download | wireguard-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.c | 6 |
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; |