hal/tools hal_set_property.c,1.13,1.14
Artem Kachitchkine
artem at kemper.freedesktop.org
Fri Apr 28 15:16:25 PDT 2006
Update of /cvs/hal/hal/tools
In directory kemper:/tmp/cvs-serv30939/tools
Modified Files:
hal_set_property.c
Log Message:
Index: hal_set_property.c
===================================================================
RCS file: /cvs/hal/hal/tools/hal_set_property.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- hal_set_property.c 8 Nov 2005 15:47:36 -0000 1.13
+++ hal_set_property.c 28 Apr 2006 22:16:23 -0000 1.14
@@ -235,7 +235,7 @@
if (remove) {
rc = libhal_device_remove_property (hal_ctx, udi, key, &error);
- if (rc != 0) {
+ if (!rc) {
fprintf (stderr, "error: libhal_device_remove_property: %s: %s\n", error.name, error.message);
return 1;
}
More information about the hal-commit
mailing list