summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaMont Jones <lamont@parisc-linux.org>2005-10-12 16:40:17 +0000
committerLaMont Jones <lamont@parisc-linux.org>2005-10-12 16:40:17 +0000
commitf29649c5148576b113656e8620405c2d147197e5 (patch)
tree82a1d4ef205dddbc96ac621efdaa433972c9a9b2
parentf3b23d9c59432f3166623a20f919a0d5cde26236 (diff)
downloadpalo-f29649c5148576b113656e8620405c2d147197e5.tar.gz
cmdline length error was missing args
-rw-r--r--palo/palo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/palo/palo.c b/palo/palo.c
index 6af017a..996308d 100644
--- a/palo/palo.c
+++ b/palo/palo.c
@@ -838,7 +838,7 @@ main(int argc, char *argv[])
case 'c':
commandline = optarg;
if (strlen(commandline) > 127)
- error(3);
+ error(3,127,strlen(commandline));
break;
case 'e':
if(strcmp(optarg, "2") == 0)