summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/stpd.c
diff options
context:
space:
mode:
authorfche <fche>2005-07-14 18:32:49 +0000
committerfche <fche>2005-07-14 18:32:49 +0000
commit3e1affadc407369714d697518d8a562acd4373f7 (patch)
treefac56803fb20457b9589f9fdcf0754a40ac6112a /runtime/stpd/stpd.c
parentfe44201854bc9258128de32bed4e31017723c04c (diff)
downloadsystemtap-steved-3e1affadc407369714d697518d8a562acd4373f7.tar.gz
systemtap-steved-3e1affadc407369714d697518d8a562acd4373f7.tar.xz
systemtap-steved-3e1affadc407369714d697518d8a562acd4373f7.zip
2005-07-14 Frank Ch. Eigler <fche@redhat.com>
* stpd.c (main): Pass !quiet mode to init_stp(). * librelay.c (init_relayfs): Be quiet if !print_totals.
Diffstat (limited to 'runtime/stpd/stpd.c')
-rw-r--r--runtime/stpd/stpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stpd/stpd.c b/runtime/stpd/stpd.c
index a551fcb0..eef662ae 100644
--- a/runtime/stpd/stpd.c
+++ b/runtime/stpd/stpd.c
@@ -81,7 +81,7 @@ int main(int argc, char **argv)
}
sprintf(stpd_filebase, "/mnt/relay/%d/cpu", getpid());
- if (init_stp(modname, stpd_filebase, 1)) {
+ if (init_stp(modname, stpd_filebase, !quiet)) {
fprintf(stderr, "Couldn't initialize stpd. Exiting.\n");
exit(1);
}