diff options
-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)); |