summaryrefslogtreecommitdiffstats
path: root/util/shmctl.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-25 12:36:25 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-25 12:36:25 +0800
commit78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88 (patch)
tree437f96f3c6e2547b8b816d77ecd9337aadadf048 /util/shmctl.c
parent73bf6bd6489ef38af4df15ab768bc50744785fdf (diff)
downloadpttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar
pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.gz
pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.bz2
pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.lz
pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.xz
pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.tar.zst
pttbbs-78bb7c4b8790fc1b5f47adb84a8b228fb65b3a88.zip
use ctime4 for compat on x86_64
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/shmctl.c')
-rw-r--r--util/shmctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index 143bb64a..bbf0239e 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -187,7 +187,7 @@ int utmpfix(int argc, char **argv)
idle[i].idle >
(timeout == -1 ? IDLE_TIMEOUT : timeout) ){
sprintf(buf, "timeout(%s)",
- Cdate(&SHM->uinfo[which].lastact));
+ ctime4(&SHM->uinfo[which].lastact));
clean = buf;
if( SHM->uinfo[which].pid > 0 )
kill(SHM->uinfo[which].pid, SIGHUP);