diff options
Diffstat (limited to 'sbin/pdisk/pdisk.c')
-rw-r--r-- | sbin/pdisk/pdisk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pdisk/pdisk.c b/sbin/pdisk/pdisk.c index b1c5edb2af5..e7af945ee57 100644 --- a/sbin/pdisk/pdisk.c +++ b/sbin/pdisk/pdisk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pdisk.c,v 1.37 2016/01/17 15:57:12 krw Exp $ */ +/* $OpenBSD: pdisk.c,v 1.38 2016/01/17 16:07:06 krw Exp $ */ // // pdisk - an editor for Apple format partition tables @@ -121,10 +121,10 @@ main(int argc, char **argv) { int name_index; - if (sizeof(DPME) != DEV_BSIZE) { + if (sizeof(struct dpme) != DEV_BSIZE) { errx(1, "Size of partition map entry (%zu) " "is not equal to block size (%d)\n", - sizeof(DPME), DEV_BSIZE); + sizeof(struct dpme), DEV_BSIZE); } if (sizeof(Block0) != DEV_BSIZE) { errx(1, "Size of block zero structure (%zu) " |