diff options
Diffstat (limited to 'runtime/stpd')
-rw-r--r-- | runtime/stpd/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/stpd/librelay.c | 5 | ||||
-rw-r--r-- | runtime/stpd/stpd.c | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/runtime/stpd/ChangeLog b/runtime/stpd/ChangeLog index 87df2532..9a13ffc9 100644 --- a/runtime/stpd/ChangeLog +++ b/runtime/stpd/ChangeLog @@ -1,3 +1,8 @@ +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. + 2005-07-13 Martin Hunt <hunt@redhat.com> * stpd.c (usage): Fix usage string. diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c index 4538d741..d7b104d0 100644 --- a/runtime/stpd/librelay.c +++ b/runtime/stpd/librelay.c @@ -437,8 +437,9 @@ int init_relayfs(void) } } - printf("Using channel with %u sub-buffers of size %u.\n", - params.n_subbufs, params.subbuf_size); + if (print_totals) + printf("Using channel with %u sub-buffers of size %u.\n", + params.n_subbufs, params.subbuf_size); return 0; err: 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); } |