summaryrefslogtreecommitdiff
path: root/namedev.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2003-12-30 01:08:02 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:12 -0700
commitf732a97ebe079413524fb992a119b9579bd04136 (patch)
treed2df65607f5204e5837f7953f7cbffad061a43ef /namedev.h
parentbbc1c767b21e17a51dbe1b5edb2c379c5fce7e95 (diff)
[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 :)
Diffstat (limited to 'namedev.h')
-rw-r--r--namedev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/namedev.h b/namedev.h
index 1eaf4fee4d..1ac71069ad 100644
--- a/namedev.h
+++ b/namedev.h
@@ -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];