-/* $OpenBSD: gpt.c,v 1.26 2021/06/12 20:16:26 krw Exp $ */
+/* $OpenBSD: gpt.c,v 1.27 2021/06/13 13:24:45 krw Exp $ */
/*
* Copyright (c) 2015 Markus Muller <mmu@grummel.net>
* Copyright (c) 2015 Kenneth R Westerback <krw@openbsd.org>
if (letoh64(gh.gh_lba_start) >= letoh64(gh.gh_lba_end)) {
DPRINTF("gpt first usable LBA: expected < %llu, got %llu\n",
- letoh64(gh.gh_lba_start), letoh64(gh.gh_lba_start));
+ letoh64(gh.gh_lba_end), letoh64(gh.gh_lba_start));
return (1);
}