summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-14 09:43:20 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-14 09:43:20 +0800
commit2255b36a74c2eac7a461324311ef6998a44b0ae7 (patch)
tree38d969e5aa9f860bbefef183bf72a2260725cd20 /util
parent2c8f74d4a35c2b10579320ef6b4723597d642179 (diff)
downloadpttbbs-2255b36a74c2eac7a461324311ef6998a44b0ae7.tar
pttbbs-2255b36a74c2eac7a461324311ef6998a44b0ae7.tar.gz
pttbbs-2255b36a74c2eac7a461324311ef6998a44b0ae7.tar.bz2
pttbbs-2255b36a74c2eac7a461324311ef6998a44b0ae7.tar.lz
pttbbs-2255b36a74c2eac7a461324311ef6998a44b0ae7.tar.xz
pttbbs-2255b36a74c2eac7a461324311ef6998a44b0ae7.tar.zst
pttbbs-2255b36a74c2eac7a461324311ef6998a44b0ae7.zip
pass (1, argv) into sub main functions
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2622 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/shmctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index fefa3e63..51f560c8 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -747,14 +747,14 @@ int SHMinit(int argc, char **argv)
#ifdef OUTTA_TIMER
puts("timed...");
- timed(1, NULL);
+ timed(1, argv);
#endif
puts("loading bcache...");
reload_bcache();
puts("building BMcache...");
- bBMC(1, NULL);
+ bBMC(1, argv);
#if 0
puts("building class...");
@@ -763,7 +763,7 @@ int SHMinit(int argc, char **argv)
if( !no_uhash_loader ){
puts("utmpsortd...");
- utmpsortd(1, NULL);
+ utmpsortd(1, argv);
}
#ifdef NOKILLWATERBALL