summaryrefslogtreecommitdiffstats
path: root/runtime/staprun
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2008-04-30 11:48:25 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2008-04-30 11:48:25 -0400
commit3b5ab982d758481ccd5003348391bea0b775d34b (patch)
tree020ab647762eea0dc683c8978a916323eccda784 /runtime/staprun
parentba6f838d2471c57fc3d8fc6d325766ff95ce108a (diff)
downloadsystemtap-steved-3b5ab982d758481ccd5003348391bea0b775d34b.tar.gz
systemtap-steved-3b5ab982d758481ccd5003348391bea0b775d34b.tar.xz
systemtap-steved-3b5ab982d758481ccd5003348391bea0b775d34b.zip
PR5645: Fix sub-buffer size calculation and debug messages.
Diffstat (limited to 'runtime/staprun')
-rw-r--r--runtime/staprun/ChangeLog5
-rw-r--r--runtime/staprun/stapio.c2
-rw-r--r--runtime/staprun/staprun.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/runtime/staprun/ChangeLog b/runtime/staprun/ChangeLog
index 9e0ccb73..2c09f8e2 100644
--- a/runtime/staprun/ChangeLog
+++ b/runtime/staprun/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-30 Masami Hiramatsu <mhiramat@redhat.com>
+
+ * stapio.c (main): Fix a typo in a debug message.
+ * staprun.c (main): Ditto.
+
2008-04-24 Frank Ch. Eigler <fche@elastic.org>
PR 6451.
diff --git a/runtime/staprun/stapio.c b/runtime/staprun/stapio.c
index b591244f..3c8c4f7f 100644
--- a/runtime/staprun/stapio.c
+++ b/runtime/staprun/stapio.c
@@ -30,7 +30,7 @@ int main(int argc, char **argv)
parse_args(argc, argv);
if (buffer_size)
- dbug(1, "Using a buffer of %u bytes.\n", buffer_size);
+ dbug(1, "Using a buffer of %u MB.\n", buffer_size);
if (optind < argc) {
parse_modpath(argv[optind++]);
diff --git a/runtime/staprun/staprun.c b/runtime/staprun/staprun.c
index ee9bdc7b..0291d01f 100644
--- a/runtime/staprun/staprun.c
+++ b/runtime/staprun/staprun.c
@@ -230,7 +230,7 @@ int main(int argc, char **argv)
parse_args(argc, argv);
if (buffer_size)
- dbug(2, "Using a buffer of %u bytes.\n", buffer_size);
+ dbug(2, "Using a buffer of %u MB.\n", buffer_size);
if (optind < argc) {
parse_modpath(argv[optind++]);