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/ipcrm.c | |
parent | b6aae0f38194cd39960a898606ee65d4be93a895 (diff) | |
download | busybox-06c0a71d2315756db874e98bc4f760ca3283b6a6.tar.gz |
preparatory patch for -Wwrite-strings #3
Diffstat (limited to 'util-linux/ipcrm.c')
-rw-r--r-- | util-linux/ipcrm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/ipcrm.c b/util-linux/ipcrm.c index 507e58fe3..886c2efbd 100644 --- a/util-linux/ipcrm.c +++ b/util-linux/ipcrm.c @@ -152,8 +152,8 @@ int ipcrm_main(int argc, char **argv) (c == 'm') ? shmget(key, 0, 0) : semget(key, 0, 0)); if (id < 0) { - char *errmsg; - const char * const what = "key"; + const char *errmsg; + const char *const what = "key"; error++; switch (errno) { @@ -183,8 +183,8 @@ int ipcrm_main(int argc, char **argv) semctl(id, 0, IPC_RMID, arg)); if (result) { - char *errmsg; - const char * const what = iskey ? "key" : "id"; + const char *errmsg; + const char *const what = iskey ? "key" : "id"; error++; switch (errno) { |