/[smeserver]/rpms/hal/sme7/hal-hotplug-input-quiet.patch
ViewVC logotype

Annotation of /rpms/hal/sme7/hal-hotplug-input-quiet.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Mar 22 16:11:10 2012 UTC (12 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: hal-0_4_2-9_0_el4_sme, hal-0_4_2-8_EL4, hal-0_4_2-9_el4_sme, HEAD
Import

1 slords 1.1 --- hal-0.4.2/tools/linux/hal_hotplug.c.~1~ 2004-10-18 17:52:05.000000000 -0500
2     +++ hal-0.4.2/tools/linux/hal_hotplug.c 2005-08-22 23:04:13.000000000 -0500
3     @@ -316,7 +316,13 @@ main (int argc, char *argv[], char *envp
4    
5     devpath = getenv ("DEVPATH");
6     if (devpath == NULL) {
7     - syslog (LOG_ERR, "DEVPATH is not set");
8     + /* Ugly hack, but in < 2.6.13 (at least) kernels,
9     + * the input subsystem doesn't set DEVPATH, but we
10     + * know that, so don't bother warning sysadmins
11     + * all the time.
12     + */
13     + if (strncmp(subsystem, "input", 5))
14     + syslog (LOG_ERR, "DEVPATH is not set");
15     goto out;
16     }
17    

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