[Linux1394-cvslog] rev 835 - branches/linux-2.4
Brought to you by:
aeb,
bencollins
From: SVN U. <ben...@li...> - 2003-03-10 23:32:34
|
Author: bencollins Date: 2003-03-10 18:31:53 -0500 (Mon, 10 Mar 2003) New Revision: 835 Modified: branches/linux-2.4/nodemgr.c Log: Use the unitdir's vendor_id when exporting for hotplug, not the node's vendor_id. Can't imagine user-space hotplug working like this. Modified: branches/linux-2.4/nodemgr.c ============================================================================== --- branches/linux-2.4/nodemgr.c (original) +++ branches/linux-2.4/nodemgr.c 2003-03-10 18:31:54.000000000 -0500 @@ -729,7 +729,7 @@ envp[i++] = scratch; scratch += sprintf(scratch, "ACTION=%s", verb) + 1; envp[i++] = scratch; - scratch += sprintf(scratch, "VENDOR_ID=%06x", ud->ne->vendor_id) + 1; + scratch += sprintf(scratch, "VENDOR_ID=%06x", ud->vendor_id) + 1; envp[i++] = scratch; scratch += sprintf(scratch, "GUID=%016Lx", (long long unsigned)ud->ne->guid) + 1; envp[i++] = scratch; |