From: kay.sievers@vrfy.org Date: Tue, 30 Dec 2003 09:08:02 +0000 (-0800) Subject: [PATCH] extend exec_program[] X-Git-Tag: 012~19 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f732a97ebe079413524fb992a119b9579bd04136;p=systemd [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 :) --- diff --git a/namedev.h b/namedev.h index 1eaf4fee..1ac71069 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];