summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-25 20:31:15 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-25 20:31:15 +0800
commit581d9e5c072cffccccff3095865e11bef8203340 (patch)
treea75154d75489638c773434b1b2a597bb590843da /mbbsd/mbbsd.c
parent2eba4491bd30b619f7431a935b7ce4e2a1860f0d (diff)
downloadpttbbs-581d9e5c072cffccccff3095865e11bef8203340.tar
pttbbs-581d9e5c072cffccccff3095865e11bef8203340.tar.gz
pttbbs-581d9e5c072cffccccff3095865e11bef8203340.tar.bz2
pttbbs-581d9e5c072cffccccff3095865e11bef8203340.tar.lz
pttbbs-581d9e5c072cffccccff3095865e11bef8203340.tar.xz
pttbbs-581d9e5c072cffccccff3095865e11bef8203340.tar.zst
pttbbs-581d9e5c072cffccccff3095865e11bef8203340.zip
indicate which user crash mbbsd
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@439 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 9a3eeb8a..ec0370c6 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.44 2002/07/22 19:02:00 in2 Exp $ */
+/* $Id: mbbsd.c,v 1.45 2002/07/25 12:31:15 kcwu Exp $ */
#include "bbs.h"
#define SOCKET_QLEN 4
@@ -222,7 +222,7 @@ abort_bbs_debug(int sig)
reentrant = 1;
if (currmode)
u_exit("AXXED");
- setproctitle("debug me!(%d)", sig);
+ setproctitle("debug me!(%d)(%s)", sig, cuser.userid);
sleep(3600); /* wait 60 mins for debug */
}
exit(0);