summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
authorGene Z. Ragan <gzr@eazel.com>2001-04-06 17:54:56 +0000
committerGene Ragan <gzr@src.gnome.org>2001-04-06 17:54:56 +0000
commitd26dc33a6d19d9551bdef6e2160ec33b11fbedda (patch)
tree811bcd2395a40e2beac94da56e35522c324d80da /libnautilus-private
parent43caf5b4a1b74fc4a157c38dada47ed576aaf016 (diff)
downloadnautilus-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.c2
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;
}
}