summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-16 16:58:00 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-16 16:58:00 +0800
commit3be5a508ab1dd47744875d1696009e8da7e7afbb (patch)
treedf457d16a632a518e8e6357b25f5f84c41d240c2 /util
parent32653addd2078d39047704ac55f708375b103b5b (diff)
downloadpttbbs-3be5a508ab1dd47744875d1696009e8da7e7afbb.tar
pttbbs-3be5a508ab1dd47744875d1696009e8da7e7afbb.tar.gz
pttbbs-3be5a508ab1dd47744875d1696009e8da7e7afbb.tar.bz2
pttbbs-3be5a508ab1dd47744875d1696009e8da7e7afbb.tar.lz
pttbbs-3be5a508ab1dd47744875d1696009e8da7e7afbb.tar.xz
pttbbs-3be5a508ab1dd47744875d1696009e8da7e7afbb.tar.zst
pttbbs-3be5a508ab1dd47744875d1696009e8da7e7afbb.zip
exit if bcache if not loaded
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@662 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/util_cache.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/util_cache.c b/util/util_cache.c
index ee6325c3..4d69bef8 100644
--- a/util/util_cache.c
+++ b/util/util_cache.c
@@ -1,4 +1,4 @@
-/* $Id: util_cache.c,v 1.9 2003/02/10 17:34:39 in2 Exp $ */
+/* $Id: util_cache.c,v 1.10 2003/02/16 08:58:00 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -317,7 +317,8 @@ static void reload_bcache() {
safe_sleep(1);
}
else{
- SHM->Buptime = SHM->Btouchtime;
+ puts("bcache is not loaded? resolve_boards() fail");
+ exit(1);
}
}