summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/add_definition.c
diff options
context:
space:
mode:
authorbg159949 <none@none>2005-08-17 11:53:32 -0700
committerbg159949 <none@none>2005-08-17 11:53:32 -0700
commit052b6e8a13e1fb4be51ba482db6bb2e9833fa717 (patch)
tree2196a553b7f5da9228c4905970bc3be987b55413 /usr/src/cmd/format/add_definition.c
parentc8393ed7bc7b32f6789bec13aa1294cff6389188 (diff)
downloadillumos-gate-052b6e8a13e1fb4be51ba482db6bb2e9833fa717.tar.gz
6268939 cmd/addbadsec and gcc don't get along
6271029 gcc and cmd/diskscan don't get along 6271084 gcc and cmd/format don't get along
Diffstat (limited to 'usr/src/cmd/format/add_definition.c')
-rw-r--r--usr/src/cmd/format/add_definition.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/format/add_definition.c b/usr/src/cmd/format/add_definition.c
index 3745782701..7c1664a8e5 100644
--- a/usr/src/cmd/format/add_definition.c
+++ b/usr/src/cmd/format/add_definition.c
@@ -20,7 +20,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 1991-2003 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -138,7 +138,7 @@ Neither the disk type nor the partitioning has been changed.\n");
*/
prompt = "Enter file name";
(void) strcpy(x.deflt_str, "./format.dat");
- filename = (char *)input(FIO_OSTR, prompt,
+ filename = (char *)(uintptr_t)input(FIO_OSTR, prompt,
':', (u_ioparam_t *)NULL, &x.xfoo, DATA_INPUT);
assert(filename != NULL);
/*