summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/menu_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/format/menu_command.c')
-rw-r--r--usr/src/cmd/format/menu_command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/format/menu_command.c b/usr/src/cmd/format/menu_command.c
index 4633344be7..05a359b158 100644
--- a/usr/src/cmd/format/menu_command.c
+++ b/usr/src/cmd/format/menu_command.c
@@ -1709,7 +1709,7 @@ c_label()
return (-1);
}
if (efi_write(cur_file, vtoc64) != 0) {
- err_check(vtoc64);
+ efi_err_check(vtoc64);
err_print("Warning: error writing EFI.\n");
return (-1);
} else {