From 052b6e8a13e1fb4be51ba482db6bb2e9833fa717 Mon Sep 17 00:00:00 2001 From: bg159949 Date: Wed, 17 Aug 2005 11:53:32 -0700 Subject: 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 --- usr/src/cmd/format/add_definition.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/cmd/format/add_definition.c') 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); /* -- cgit v1.2.3