From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 26 Dec 2003 01:42:17 +0000 Subject: [udev] extend exec_program[] MIME-Version: 1 Content-Type: multipart/mixed; boundary="2/5bycvrmDh4d1IB" Message-Id: List-Id: To: linux-hotplug@vger.kernel.org --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline extend exec_program size to 100 chars cause: PROGRAM="/home/kay/src/udev.kay/extras/ide-devfs.sh %k %b %n" is too long :) thanks, Kay --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="06-bigger-callout-program.diff" diff -Nru a/namedev.h b/namedev.h --- a/namedev.h Thu Dec 25 23:20:39 2003 +++ b/namedev.h Thu Dec 25 23:20:39 2003 @@ -43,6 +43,7 @@ #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 @@ 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]; --2/5bycvrmDh4d1IB-- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel