summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/menu_partition.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/format/menu_partition.c')
-rw-r--r--usr/src/cmd/format/menu_partition.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/format/menu_partition.c b/usr/src/cmd/format/menu_partition.c
index 32a6937396..3223dd5bc9 100644
--- a/usr/src/cmd/format/menu_partition.c
+++ b/usr/src/cmd/format/menu_partition.c
@@ -330,7 +330,8 @@ p_name()
* Ask for the name. Note that the input routine will malloc
* space for the name since we are using the OSTR input type.
*/
- name = (char *)input(FIO_OSTR, "Enter table name (remember quotes)",
+ name = (char *)(uintptr_t)input(FIO_OSTR,
+ "Enter table name (remember quotes)",
':', (u_ioparam_t *)NULL, (int *)NULL, DATA_INPUT);
/*
* Lock out interrupts.