/[smeserver]/rpms/nut/sme8/nut-2.2.0-glibcopen.patch
ViewVC logotype

Annotation of /rpms/nut/sme8/nut-2.2.0-glibcopen.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Oct 9 18:34:03 2007 UTC (17 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: nut-2_2_0-3_2_el5_sme
Import on branch sme8 of package nut-2.2.0-3.2.el4.sme.src.rpm

1 slords 1.1 --- nut-2.2.0/drivers/megatec_usb.c.open 2007-08-16 09:32:03.000000000 +0200
2     +++ nut-2.2.0/drivers/megatec_usb.c 2007-08-16 09:32:24.000000000 +0200
3     @@ -209,7 +209,7 @@
4     /* link the matchers */
5     regex_matcher->next = &subdriver_matcher;
6    
7     - ret = usb->open(&udev, &hiddevice, regex_matcher, NULL, MODE_NOHID);
8     + ret = (usb->open)(&udev, &hiddevice, regex_matcher, NULL, MODE_NOHID);
9     if (ret < 0)
10     usb_open_error(port);
11    
12     --- nut-2.2.0/drivers/libhid.c.open 2007-08-16 09:28:05.000000000 +0200
13     +++ nut-2.2.0/drivers/libhid.c 2007-08-16 09:28:23.000000000 +0200
14     @@ -589,7 +589,7 @@
15     }
16    
17     /* get and parse descriptors (dev, cfg and report) */
18     - ReportSize = comm_driver->open(udevp, hd, matcher, ReportDesc, mode);
19     + ReportSize = (comm_driver->open)(udevp, hd, matcher, ReportDesc, mode);
20    
21     if (ReportSize == -1)
22     return NULL;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed