chiark / gitweb /
[PATCH] move the signal handling registration to after we have initialized enough...
[elogind.git] / namedev.h
index 1eaf4fee4d9a2123adbe995b3ef4a74cbe0c535c..1ac71069ad219784d8c227610a7e911e1329a826 100644 (file)
--- 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];