summaryrefslogtreecommitdiff
path: root/common/gmountspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/gmountspec.c')
-rw-r--r--common/gmountspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gmountspec.c b/common/gmountspec.c
index 13f41299..631aa67c 100644
--- a/common/gmountspec.c
+++ b/common/gmountspec.c
@@ -70,7 +70,7 @@ g_mount_spec_set_mount_prefix (GMountSpec *spec,
const char *mount_prefix)
{
g_free (spec->mount_prefix);
- mount_prefix = g_strdup (mount_prefix);
+ spec->mount_prefix = g_strdup (mount_prefix);
}