diff options
author | Gene Z. Ragan <gzr@eazel.com> | 2001-04-06 17:54:56 +0000 |
---|---|---|
committer | Gene Ragan <gzr@src.gnome.org> | 2001-04-06 17:54:56 +0000 |
commit | d26dc33a6d19d9551bdef6e2160ec33b11fbedda (patch) | |
tree | 811bcd2395a40e2beac94da56e35522c324d80da /libnautilus-private | |
parent | 43caf5b4a1b74fc4a157c38dada47ed576aaf016 (diff) | |
download | nautilus-d26dc33a6d19d9551bdef6e2160ec33b11fbedda.tar.gz |
Add more verbose error message in the case that /proc/mounts or
2001-04-06 Gene Z. Ragan <gzr@eazel.com>
Add more verbose error message in the case that
/proc/mounts or /etc/mnttab cannot be opened.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_current_mount_list):
Diffstat (limited to 'libnautilus-private')
-rw-r--r-- | libnautilus-private/nautilus-volume-monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-volume-monitor.c b/libnautilus-private/nautilus-volume-monitor.c index b301497de..48ec6762b 100644 --- a/libnautilus-private/nautilus-volume-monitor.c +++ b/libnautilus-private/nautilus-volume-monitor.c @@ -966,7 +966,7 @@ get_current_mount_list (void) fh = fopen ("/proc/mounts", "r"); separator = " "; if (fh == NULL) { - g_warning ("can't open /etc/mnttab or /proc/mounts"); + g_warning ("Unable to open /etc/mnttab or /proc/mounts: %s", strerror (errno)); return NULL; } } |