summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-02 06:43:20 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-02 06:43:20 +0800
commit5d80d97a28d05f37d4bd5499cd552b65eed167e6 (patch)
tree2884bfe712b8722a97ea408a54587958cf73bb99 /util
parentef70ce06c3749d921b1b7dd657907659bf428f54 (diff)
downloadpttbbs-5d80d97a28d05f37d4bd5499cd552b65eed167e6.tar
pttbbs-5d80d97a28d05f37d4bd5499cd552b65eed167e6.tar.gz
pttbbs-5d80d97a28d05f37d4bd5499cd552b65eed167e6.tar.bz2
pttbbs-5d80d97a28d05f37d4bd5499cd552b65eed167e6.tar.lz
pttbbs-5d80d97a28d05f37d4bd5499cd552b65eed167e6.tar.xz
pttbbs-5d80d97a28d05f37d4bd5499cd552b65eed167e6.tar.zst
pttbbs-5d80d97a28d05f37d4bd5499cd552b65eed167e6.zip
Adding setproctitle for NoKillWaterBalld in shmctl.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1444 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/shmctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index 8c3435ca..e5539b23 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -518,6 +518,8 @@ int nkwbd(int argc, char **argv)
return 0;
}
+ setproctitle("shmctl nkwbd");
+
switch( fork() ){
case -1:
perror("fork()");