aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLAN-TW <lantw44@gmail.com>2012-10-15 11:59:46 +0800
committerLAN-TW <lantw44@gmail.com>2012-10-15 11:59:46 +0800
commit38b2850dcfca042c2ed37296bc845cbb263ea4fe (patch)
tree0e21b7707b292b994a94f5305c281de997d87474
parent2581b53d0a9268517eaf1b142f48f27254e87df0 (diff)
downloadsctjudge-38b2850dcfca042c2ed37296bc845cbb263ea4fe.tar.gz
sctjudge-38b2850dcfca042c2ed37296bc845cbb263ea4fe.tar.zst
sctjudge-38b2850dcfca042c2ed37296bc845cbb263ea4fe.zip
Typo - 程序監視器部分無法啟用 Linux proc 擴充功能
-rw-r--r--src/disptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disptime.c b/src/disptime.c
index b47a3ed..aaee942 100644
--- a/src/disptime.c
+++ b/src/disptime.c
@@ -24,7 +24,7 @@ void* sctjudge_dispaytime(void* arg){
pid_t pidcopy;
- const char* sysstatfile = PROC_PATH"stat";
+ const char* sysstatfile = PROC_PATH"/stat";
char statfile[25], statusfile[25];
FILE *statp, *statusp, *sysstatp;