linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [udev] extend exec_program[]
@ 2003-12-26  1:42 Kay Sievers
  2003-12-30  1:06 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2003-12-26  1:42 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]


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

[-- Attachment #2: 06-bigger-callout-program.diff --]
[-- Type: text/plain, Size: 550 bytes --]

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];

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-30  1:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-26  1:42 [udev] extend exec_program[] Kay Sievers
2003-12-30  1:06 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).