aboutsummaryrefslogtreecommitdiff
path: root/src/progman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/progman.c')
-rw-r--r--src/progman.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/progman.c b/src/progman.c
index ffaf37b..9143b99 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -1708,7 +1708,7 @@ progman_stop ()
}
static void
-print_status (char *tag, pid_t pid, int status, int expect_term)
+print_status (const char *tag, pid_t pid, int status, int expect_term)
{
if (WIFEXITED (status))
{
@@ -2053,7 +2053,7 @@ run_command (struct action *act, struct prog *prog, unsigned retcode,
/* Master */
debug (1, (_("started command: %s, pid=%lu"),
act->command, (unsigned long) pid));
- register_command (_("[action]"), xstrdup (act->command), pid);
+ register_command ((char*) _("[action]"), xstrdup (act->command), pid);
}
static void
@@ -2130,11 +2130,6 @@ progman_cleanup (int expect_term)
if (!prog)
{
print_status (_("subprocess"), pid, status, expect_term);
- /*
- logmsg (LOG_NOTICE,
- _("subprocess %lu finished"),
- (unsigned long) pid);
- */
continue;
}
prog->pid = 0;

Return to:

Send suggestions and report system problems to the System administrator.