From: Theodore Ts'o Date: Thu, 5 Jan 2006 06:29:50 +0000 (-0500) Subject: Fix gcc -Wall warning in profile_helper.c X-Git-Tag: E2FSPROGS-1.39-WIP-0330~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d673582241d9970e96b56caa0fd79ff95871c39b;p=thirdparty%2Fe2fsprogs.git Fix gcc -Wall warning in profile_helper.c Signed-off-by: "Theodore Ts'o" --- diff --git a/e2fsck/profile_helpers.c b/e2fsck/profile_helpers.c index deb0e23ca..dcbdd32ea 100644 --- a/e2fsck/profile_helpers.c +++ b/e2fsck/profile_helpers.c @@ -85,7 +85,7 @@ static void end_list(struct profile_string_list *list, char ***ret_list) /* * Add a string to the list. */ -static errcode_t add_to_list(struct profile_string_list *list, const char *str) +static errcode_t add_to_list(struct profile_string_list *list, char *str) { char **newlist; int newmax;