[PATCH] extend exec_program[]

extend exec_program size to 100 chars cause:

  PROGRAM="/home/kay/src/udev.kay/extras/ide-devfs.sh %k %b %n"

is too long :)
This commit is contained in:
kay.sievers@vrfy.org 2003-12-30 01:08:02 -08:00 committed by Greg KH
parent bbc1c767b2
commit f732a97ebe
1 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ enum config_type {
#define VALUE_SIZE 100
#define ID_SIZE 50
#define PLACE_SIZE 50
#define PROGRAM_SIZE 100
#define TYPE_LABEL "LABEL"
#define TYPE_NUMBER "NUMBER"
@ -75,7 +76,7 @@ struct config_device {
char id[ID_SIZE];
char place[PLACE_SIZE];
char kernel_name[NAME_SIZE];
char exec_program[FILE_SIZE];
char exec_program[PROGRAM_SIZE];
char name[NAME_SIZE];
char symlink[NAME_SIZE];
struct sysfs_pair sysfs_pair[MAX_SYSFS_PAIRS];