summaryrefslogtreecommitdiff
path: root/hald/linux/probing/probe-volume.c
diff options
context:
space:
mode:
Diffstat (limited to 'hald/linux/probing/probe-volume.c')
-rw-r--r--hald/linux/probing/probe-volume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hald/linux/probing/probe-volume.c b/hald/linux/probing/probe-volume.c
index 882de885..13c775aa 100644
--- a/hald/linux/probing/probe-volume.c
+++ b/hald/linux/probing/probe-volume.c
@@ -97,7 +97,7 @@ set_blkid_values (LibHalChangeSet *cs, blkid_probe pr)
if (blkid_probe_lookup_value(pr, "TYPE", &type, NULL))
type = "";
- if (libhal_changeset_set_property_string (cs, "volume.fstype", type))
+ if (!libhal_changeset_set_property_string (cs, "volume.fstype", type))
libhal_changeset_set_property_string (cs, "volume.fstype", "");
HAL_DEBUG(("volume.fstype = '%s'", type));