diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-11-20 14:52:02 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-11-20 14:52:39 -0500 |
commit | b688229d04b08420087ae79612a88bd89b8b665c (patch) | |
tree | 3297d2691910dfcd9d9739b5d99652814f9caff8 /main.cxx | |
parent | 289a15a2d78f4c8af9c52ed5141731cc52ef39fb (diff) | |
download | systemtap-steved-b688229d04b08420087ae79612a88bd89b8b665c.tar.gz systemtap-steved-b688229d04b08420087ae79612a88bd89b8b665c.tar.xz systemtap-steved-b688229d04b08420087ae79612a88bd89b8b665c.zip |
fix --vp NNN logic for #chars < 5
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -654,7 +654,7 @@ main (int argc, char * const argv []) if (strlen(optarg) < 1 || strlen(optarg) > 5) ok = false; if (ok) - for (unsigned i=0; i<5; i++) + for (unsigned i=0; i<strlen(optarg); i++) if (isdigit (optarg[i])) s.perpass_verbose[i] += optarg[i]-'0'; else |