diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:44 +0000 |
commit | 06c0a71d2315756db874e98bc4f760ca3283b6a6 (patch) | |
tree | df385c84041f3fd8328e7a50caef4495ef2734a8 /util-linux/fdisk.c | |
parent | b6aae0f38194cd39960a898606ee65d4be93a895 (diff) | |
download | busybox-w32-06c0a71d2315756db874e98bc4f760ca3283b6a6.tar.gz busybox-w32-06c0a71d2315756db874e98bc4f760ca3283b6a6.tar.bz2 busybox-w32-06c0a71d2315756db874e98bc4f760ca3283b6a6.zip |
preparatory patch for -Wwrite-strings #3
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 f15b9af91..6d827105e 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -185,7 +185,7 @@ static void reread_partition_table(int leave); | |||
185 | static void delete_partition(int i); | 185 | static void delete_partition(int i); |
186 | static int get_partition(int warn, int max); | 186 | static int get_partition(int warn, int max); |
187 | static void list_types(const struct systypes *sys); | 187 | static void list_types(const struct systypes *sys); |
188 | static unsigned read_int(unsigned low, unsigned dflt, unsigned high, unsigned base, char *mesg); | 188 | static unsigned read_int(unsigned low, unsigned dflt, unsigned high, unsigned base, const char *mesg); |
189 | #endif | 189 | #endif |
190 | static const char *partition_type(unsigned char type); | 190 | static const char *partition_type(unsigned char type); |
191 | static void fdisk_fatal(enum failure why) ATTRIBUTE_NORETURN; | 191 | static void fdisk_fatal(enum failure why) ATTRIBUTE_NORETURN; |
@@ -1410,7 +1410,7 @@ get_boot(enum action what) | |||
1410 | * There is no default if DFLT is not between LOW and HIGH. | 1410 | * There is no default if DFLT is not between LOW and HIGH. |
1411 | */ | 1411 | */ |
1412 | static unsigned | 1412 | static unsigned |
1413 | read_int(unsigned low, unsigned dflt, unsigned high, unsigned base, char *mesg) | 1413 | read_int(unsigned low, unsigned dflt, unsigned high, unsigned base, const char *mesg) |
1414 | { | 1414 | { |
1415 | unsigned i; | 1415 | unsigned i; |
1416 | int default_ok = 1; | 1416 | int default_ok = 1; |