diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-10-16 16:09:47 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-10-16 16:09:47 +0300 |
commit | 8956cfef277d217e4cdcf8450fe5ed865f50ee36 (patch) | |
tree | 1ce636efd10284c8d55c3b459291f92e9c170b0a /src/progman.c | |
parent | 7891c97a6aa46d47d0a93fac63cada4a3cf89121 (diff) | |
download | pies-8956cfef277d217e4cdcf8450fe5ed865f50ee36.tar.gz pies-8956cfef277d217e4cdcf8450fe5ed865f50ee36.tar.bz2 |
Bugfixes.
* src/acl.c (acl_hasher): Fix signature.
* src/progman.c (notify): Fix warnings.
Diffstat (limited to 'src/progman.c')
-rw-r--r-- | src/progman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progman.c b/src/progman.c index 411fc8c..5085f16 100644 --- a/src/progman.c +++ b/src/progman.c @@ -1519,12 +1519,12 @@ notify (const char *tag, int status, struct action *act) mdef[COMPONENT_IDX].value = (char*) tag; if (WIFEXITED (status)) { - mdef[TERMINATION_IDX].value = _("exited with code"); + mdef[TERMINATION_IDX].value = (char*) _("exited with code"); mdef[RETCODE_IDX].value = umaxtostr (WEXITSTATUS (status), buf); } else if (WIFSIGNALED (status)) { - mdef[TERMINATION_IDX].value = _("terminated on signal"); + mdef[TERMINATION_IDX].value = (char*) _("terminated on signal"); mdef[RETCODE_IDX].value = umaxtostr (WTERMSIG (status), buf); } else |