summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2008-04-30 11:52:32 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2008-04-30 11:52:32 -0400
commit453b58eda7e347076a7df00ce9d15bb0e92f6d66 (patch)
treefa72419fe0b620f311e1e988f64ce00cb9f85324 /main.cxx
parent3b5ab982d758481ccd5003348391bea0b775d34b (diff)
downloadsystemtap-steved-453b58eda7e347076a7df00ce9d15bb0e92f6d66.tar.gz
systemtap-steved-453b58eda7e347076a7df00ce9d15bb0e92f6d66.tar.xz
systemtap-steved-453b58eda7e347076a7df00ce9d15bb0e92f6d66.zip
PR6008: Increase the limitation of the buffer size to 4095MB.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cxx b/main.cxx
index 15016435..6546db11 100644
--- a/main.cxx
+++ b/main.cxx
@@ -482,9 +482,9 @@ main (int argc, char * const argv [])
case 's':
s.buffer_size = atoi (optarg);
- if (s.buffer_size < 1 || s.buffer_size > 64)
+ if (s.buffer_size < 1 || s.buffer_size > 4095)
{
- cerr << "Invalid buffer size (should be 1-64)." << endl;
+ cerr << "Invalid buffer size (should be 1-4095)." << endl;
usage (s, 1);
}
break;