diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-01-13 18:31:18 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:16 -0700 |
commit | 7e5f7397f9dbbf2be421d639494576a5c8167241 (patch) | |
tree | 80027c70f4d794b162e2a20123001310534b43f0 /namedev.c | |
parent | 9ab314222d66d53a46ecefdeb37bec15b7dff66a (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |