summaryrefslogtreecommitdiff
path: root/src/lib/eeze
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-02-13 14:20:32 +0000
committerDaniel Kolesa <d.kolesa@samsung.com>2015-02-13 14:20:32 +0000
commit2b8bc02e1226594c8b7bb155bf8ddc42ce1961ce (patch)
treedfe147b1e13a32d0cf34c6f1fc5acbeb69467696 /src/lib/eeze
parent06fe2fad0eb5bc16b58a448ba1c15cf9e53d9209 (diff)
edje, eeze: compiler portability (use full ternary operator)
Diffstat (limited to 'src/lib/eeze')
-rw-r--r--src/lib/eeze/eeze_disk_mount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eeze/eeze_disk_mount.c b/src/lib/eeze/eeze_disk_mount.c
index 1821a375af..ed151d04be 100644
--- a/src/lib/eeze/eeze_disk_mount.c
+++ b/src/lib/eeze/eeze_disk_mount.c
@@ -297,9 +297,9 @@ eeze_disk_mount(Eeze_Disk *disk)
297 if (disk->mount_wrapper) 297 if (disk->mount_wrapper)
298 eina_strbuf_append_printf(disk->mount_cmd, "%s ", disk->mount_wrapper); 298 eina_strbuf_append_printf(disk->mount_cmd, "%s ", disk->mount_wrapper);
299 if (disk->mount_opts == EEZE_DISK_MOUNTOPT_DEFAULTS) 299 if (disk->mount_opts == EEZE_DISK_MOUNTOPT_DEFAULTS)
300 eina_strbuf_append_printf(disk->mount_cmd, EEZE_MOUNT_BIN" -o "EEZE_MOUNT_DEFAULT_OPTS" %s%s %s", str ?: "", dev, disk->mount_point); 300 eina_strbuf_append_printf(disk->mount_cmd, EEZE_MOUNT_BIN" -o "EEZE_MOUNT_DEFAULT_OPTS" %s%s %s", str ? str : "", dev, disk->mount_point);
301 else if (!disk->mount_opts) 301 else if (!disk->mount_opts)
302 eina_strbuf_append_printf(disk->mount_cmd, EEZE_MOUNT_BIN" %s%s %s", str ?: "", dev, disk->mount_point); 302 eina_strbuf_append_printf(disk->mount_cmd, EEZE_MOUNT_BIN" %s%s %s", str ? str : "", dev, disk->mount_point);
303 else 303 else
304 { 304 {
305 eina_strbuf_append(disk->mount_cmd, EEZE_MOUNT_BIN" -o "); 305 eina_strbuf_append(disk->mount_cmd, EEZE_MOUNT_BIN" -o ");
@@ -324,7 +324,7 @@ eeze_disk_mount(Eeze_Disk *disk)
324 eina_strbuf_append(disk->mount_cmd, "remount,"); 324 eina_strbuf_append(disk->mount_cmd, "remount,");
325 if (disk->mount_opts & EEZE_DISK_MOUNTOPT_UID) 325 if (disk->mount_opts & EEZE_DISK_MOUNTOPT_UID)
326 eina_strbuf_append_printf(disk->mount_cmd, "uid=%i,", (int)disk->uid); 326 eina_strbuf_append_printf(disk->mount_cmd, "uid=%i,", (int)disk->uid);
327 eina_strbuf_append_printf(disk->mount_cmd, " %s%s %s", str ?: "", dev, disk->mount_point); 327 eina_strbuf_append_printf(disk->mount_cmd, " %s%s %s", str ? str : "", dev, disk->mount_point);
328 } 328 }
329 disk->mount_cmd_changed = EINA_FALSE; 329 disk->mount_cmd_changed = EINA_FALSE;
330 } 330 }