diff options
Diffstat (limited to 'tools/hal-callout.c')
-rw-r--r-- | tools/hal-callout.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/hal-callout.c b/tools/hal-callout.c index 7c4a589..39266fc 100644 --- a/tools/hal-callout.c +++ b/tools/hal-callout.c @@ -49,8 +49,7 @@ static char *mount_ipod (const char *dev_path) if (fstype == NULL) { return NULL; } - filename = g_build_filename (G_DIR_SEPARATOR_S, "tmp", "ipodXXXXXX", - NULL); + filename = g_build_filename (g_get_tmp_dir (), "ipodXXXXXX", NULL); if (filename == NULL) { return NULL; } |