hal/hald/linux2/probing probe-smbios.c,1.8,1.9
Danny Kukawka
dkukawka at freedesktop.org
Thu Jan 12 09:48:46 PST 2006
Update of /cvs/hal/hal/hald/linux2/probing
In directory gabe:/tmp/cvs-serv7533/hald/linux2/probing
Modified Files:
probe-smbios.c
Log Message:
2006-01-12 Danny Kukawka <danny.kukawka at web.de>
Fixed compiler warnings if compile with flag warn_unused_result.
* hald/device_info.c: (process_fdi_file):
* hald/hald.c: (handle_sigterm), (main), (osspec_probe_done):
* hald/hald_dbus.c: (hald_exec_method):
* hald/linux2/osspec.c: (set_suspend_hibernate_keys):
* hald/linux2/probing/probe-smbios.c: (main):
* tools/linux/hal_hotplug.c: (main):
Index: probe-smbios.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/probing/probe-smbios.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- probe-smbios.c 2 Nov 2005 15:38:14 -0000 1.8
+++ probe-smbios.c 12 Jan 2006 17:48:44 -0000 1.9
@@ -90,6 +90,7 @@
char *nbuf;
int dmipipe[2];
int nullfd;
+ int tmp_ret;
FILE *f;
int dmiparser_state = DMIPARSER_STATE_IGNORE;
@@ -118,7 +119,7 @@
goto out;
}
- pipe (dmipipe);
+ tmp_ret = pipe (dmipipe);
f = fdopen (dmipipe[0], "r");
nullfd = open ("/dev/null", O_RDONLY);
More information about the hal-commit
mailing list