summaryrefslogtreecommitdiff
path: root/src/execute.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-11-06 23:06:38 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-11-07 01:09:53 +0100
commit0ad26e09de813857382ec3a787fc6df5e52cf98b (patch)
treefb625b2733152c3bc8354b73ccda55b8d629da3a /src/execute.c
parent4cbd9ecf45f64c3a9acc99d473fbf3be3687ae24 (diff)
utmp: remove unneded parameters
With these functions no caller ever passes anything else than 0 for 't' (meaning the current time will be used).
Diffstat (limited to 'src/execute.c')
-rw-r--r--src/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execute.c b/src/execute.c
index 866e8bf2f6..250d53a424 100644
--- a/src/execute.c
+++ b/src/execute.c
@@ -1170,7 +1170,7 @@ int exec_spawn(ExecCommand *command,
}
if (context->utmp_id)
- utmp_put_init_process(0, context->utmp_id, getpid(), getsid(0), context->tty_path);
+ utmp_put_init_process(context->utmp_id, getpid(), getsid(0), context->tty_path);
if (context->user) {
username = context->user;