summaryrefslogtreecommitdiff
path: root/legacy/eeze/src/bin/eeze_mount.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-02-09 20:44:21 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-02-09 20:44:21 +0000
commita2b2f60c0768d7115c21a843ae107137624d0ae4 (patch)
treeab2cf6e066e0dac8d74e5d878071fe0e10561af1 /legacy/eeze/src/bin/eeze_mount.c
parent8c9ac9c9673a1495a9ead61eabf05f11196c16c0 (diff)
slightly more descriptive error messages for TAsns who think mount apps magically know where disks should be mounted
SVN revision: 56875
Diffstat (limited to 'legacy/eeze/src/bin/eeze_mount.c')
-rw-r--r--legacy/eeze/src/bin/eeze_mount.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/legacy/eeze/src/bin/eeze_mount.c b/legacy/eeze/src/bin/eeze_mount.c
index 84b34bf99a..a7aa8227bd 100644
--- a/legacy/eeze/src/bin/eeze_mount.c
+++ b/legacy/eeze/src/bin/eeze_mount.c
@@ -106,7 +106,11 @@ main(int argc, char *argv[])
106 ecore_event_handler_add(EEZE_EVENT_DISK_ERROR, (Ecore_Event_Handler_Cb)_error_cb, NULL); 106 ecore_event_handler_add(EEZE_EVENT_DISK_ERROR, (Ecore_Event_Handler_Cb)_error_cb, NULL);
107 if (!eeze_disk_mount(disk)) 107 if (!eeze_disk_mount(disk))
108 { 108 {
109 printf("Mount operation could not be started!\n"); 109 const char *mp;
110
111 mp = eeze_disk_mount_point_get(disk);
112 if (!mp) fprintf(stderr, "No mount point passed!\n");
113 else fprintf(stderr, "Mount operation could not be started!\n");
110 exit(1); 114 exit(1);
111 } 115 }
112 ecore_main_loop_begin(); 116 ecore_main_loop_begin();