summaryrefslogtreecommitdiffstats
path: root/daemon/logind/logind.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-19 20:10:30 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-19 20:10:30 +0800
commit3be9884d277f0ce2235b801667d85ce57e41cb89 (patch)
tree7bde988c1d997ec5e7cc415e7a615eb964dae79f /daemon/logind/logind.c
parent5ec0b0c8dc4b9aa479f8010f7a94aa3d99b0aac5 (diff)
downloadpttbbs-3be9884d277f0ce2235b801667d85ce57e41cb89.tar
pttbbs-3be9884d277f0ce2235b801667d85ce57e41cb89.tar.gz
pttbbs-3be9884d277f0ce2235b801667d85ce57e41cb89.tar.bz2
pttbbs-3be9884d277f0ce2235b801667d85ce57e41cb89.tar.lz
pttbbs-3be9884d277f0ce2235b801667d85ce57e41cb89.tar.xz
pttbbs-3be9884d277f0ce2235b801667d85ce57e41cb89.tar.zst
pttbbs-3be9884d277f0ce2235b801667d85ce57e41cb89.zip
* logind: setproctitle does not have prefix/postfix on Linux
* regmaild: enable daemonize mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4672 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'daemon/logind/logind.c')
-rw-r--r--daemon/logind/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/logind/logind.c b/daemon/logind/logind.c
index 04ad99e5..4e282617 100644
--- a/daemon/logind/logind.c
+++ b/daemon/logind/logind.c
@@ -1880,7 +1880,7 @@ logattempt_daemon()
// child here.
g_logattempt_pipe = pipe_fds[0];
close(pipe_fds[1]);
- setproctitle("[logattempts]");
+ setproctitle(MY_SVC_NAME " [logattempts]");
// TODO change to batched processing
while (toread(g_logattempt_pipe, &ctx, sizeof(ctx)) == sizeof(ctx))