mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
[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:
parent
bbc1c767b2
commit
f732a97ebe
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user