diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-27 09:28:50 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-27 09:28:50 +0800 |
commit | 09354eabd150a41f400d184021a991e4a9273353 (patch) | |
tree | 678cbab25ca3fe437b699f64ba8ebe21cc904460 | |
parent | 4744e07cf082cabc8242a16584a137c70056a8ba (diff) | |
download | pttbbs-09354eabd150a41f400d184021a991e4a9273353.tar pttbbs-09354eabd150a41f400d184021a991e4a9273353.tar.gz pttbbs-09354eabd150a41f400d184021a991e4a9273353.tar.bz2 pttbbs-09354eabd150a41f400d184021a991e4a9273353.tar.lz pttbbs-09354eabd150a41f400d184021a991e4a9273353.tar.xz pttbbs-09354eabd150a41f400d184021a991e4a9273353.tar.zst pttbbs-09354eabd150a41f400d184021a991e4a9273353.zip |
fix format string
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2678 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | util/shmctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/shmctl.c b/util/shmctl.c index 26a7e67b..235a5d86 100644 --- a/util/shmctl.c +++ b/util/shmctl.c @@ -936,7 +936,7 @@ int showstat(int argc, char *argv[]) flag_clear=1; for(i=0; i<STAT_NUM; i++) { char *desc= i*sizeof(char*)<sizeof(stat_desc)?stat_desc[i]:"?"; - printf("%s:\t%s\n", desc, SHM->statistic[i]); + printf("%s:\t%d\n", desc, SHM->statistic[i]); } if(flag_clear) memset(SHM->statistic, 0, sizeof(SHM->statistic)); |