diff options
-rw-r--r-- | tools/l2test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/l2test.c b/tools/l2test.c index 5aae4b687..232247b78 100644 --- a/tools/l2test.c +++ b/tools/l2test.c @@ -1416,7 +1416,7 @@ int main(int argc, char *argv[]) break; case 'P': - psm = atoi(optarg); + psm = strtoul(optarg, NULL, 0); break; case 'I': |