summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
Diffstat (limited to 'namedev.c')
-rw-r--r--namedev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/namedev.c b/namedev.c
index fdc6252bf6..6f7bfb6805 100644
--- a/namedev.c
+++ b/namedev.c
@@ -309,7 +309,7 @@ static int execute_program(char *path, char *value, int len)
int value_set = 0;
char buffer[256];
char *pos;
- char *args[CALLOUT_MAXARG];
+ char *args[PROGRAM_MAXARG];
int i;
dbg("executing '%s'", path);
@@ -331,7 +331,7 @@ static int execute_program(char *path, char *value, int len)
if (strchr(path, ' ')) {
/* exec with arguments */
pos = path;
- for (i=0; i < CALLOUT_MAXARG-1; i++) {
+ for (i=0; i < PROGRAM_MAXARG-1; i++) {
args[i] = strsep(&pos, " ");
if (args[i] == NULL)
break;