diff options
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index f15b9af..6d82710 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -185,7 +185,7 @@ static void reread_partition_table(int leave); static void delete_partition(int i); static int get_partition(int warn, int max); static void list_types(const struct systypes *sys); -static unsigned read_int(unsigned low, unsigned dflt, unsigned high, unsigned base, char *mesg); +static unsigned read_int(unsigned low, unsigned dflt, unsigned high, unsigned base, const char *mesg); #endif static const char *partition_type(unsigned char type); static void fdisk_fatal(enum failure why) ATTRIBUTE_NORETURN; @@ -1410,7 +1410,7 @@ get_boot(enum action what) * There is no default if DFLT is not between LOW and HIGH. */ static unsigned -read_int(unsigned low, unsigned dflt, unsigned high, unsigned base, char *mesg) +read_int(unsigned low, unsigned dflt, unsigned high, unsigned base, const char *mesg) { unsigned i; int default_ok = 1; |