aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk_osf.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fdisk_osf.c')
-rw-r--r--util-linux/fdisk_osf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/util-linux/fdisk_osf.c b/util-linux/fdisk_osf.c
index 6c66c130d..049f0b169 100644
--- a/util-linux/fdisk_osf.c
+++ b/util-linux/fdisk_osf.c
@@ -746,11 +746,12 @@ xbsd_write_bootstrap(void)
746 return; 746 return;
747 747
748 e = d + sizeof(struct xbsd_disklabel); 748 e = d + sizeof(struct xbsd_disklabel);
749 for (p = d; p < e; p++) 749 for (p = d; p < e; p++) {
750 if (*p) { 750 if (*p) {
751 printf("Bootstrap overlaps with disk label!\n"); 751 printf("Bootstrap overlaps with disk label!\n");
752 exit(EXIT_FAILURE); 752 exit_FAILURE();
753 } 753 }
754 }
754 755
755 memmove(d, &dl, sizeof(struct xbsd_disklabel)); 756 memmove(d, &dl, sizeof(struct xbsd_disklabel));
756 757