slightly more descriptive error messages for TAsns who think mount apps magically know where disks should be mounted

SVN revision: 56875
devs/devilhorns/wayland_egl
Mike Blumenkrantz 12 years ago
parent 8c9ac9c967
commit a2b2f60c07
  1. 6
      legacy/eeze/src/bin/eeze_mount.c

@ -106,7 +106,11 @@ main(int argc, char *argv[])
ecore_event_handler_add(EEZE_EVENT_DISK_ERROR, (Ecore_Event_Handler_Cb)_error_cb, NULL);
if (!eeze_disk_mount(disk))
{
printf("Mount operation could not be started!\n");
const char *mp;
mp = eeze_disk_mount_point_get(disk);
if (!mp) fprintf(stderr, "No mount point passed!\n");
else fprintf(stderr, "Mount operation could not be started!\n");
exit(1);
}
ecore_main_loop_begin();

Loading…
Cancel
Save