summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2005-08-15 15:33:59 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2005-08-15 15:33:59 +0000
commit3bd6fa1e8ccfc2eca3fc865f9a280758d5ff7fde (patch)
tree6af14e142f52e9a384a229f38eafbd9bdb0eea36
parente0fc127801f192c3c3b25396582e399caa47f3c1 (diff)
Notes
-rw-r--r--usr.sbin/pmcstat/pmcstat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c
index c41fa77f75df..b58c09596c5f 100644
--- a/usr.sbin/pmcstat/pmcstat.c
+++ b/usr.sbin/pmcstat/pmcstat.c
@@ -880,6 +880,9 @@ main(int argc, char **argv)
if (args.pa_flags & (FLAG_HAS_OUTPUT_LOGFILE |
FLAG_HAS_PIPE))
runstate = pmcstat_close_log(&args);
+ else
+ runstate = PMCSTAT_FINISHED;
+ do_print = 1;
break;
case EVFILT_READ: /* log file data is present */