summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-01-13 18:31:18 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:16 -0700
commit7e5f7397f9dbbf2be421d639494576a5c8167241 (patch)
tree80027c70f4d794b162e2a20123001310534b43f0 /namedev.c
parent9ab314222d66d53a46ecefdeb37bec15b7dff66a (diff)
[PATCH] udev - CALLOUT is PROGRAM now
replace CALLOUT by PROGRAM and fix old rule format
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;