Rename a function to better describe what it does.
diff --git a/lib/getmountlist.c b/lib/getmountlist.c
index 5f4bc63..c0e6875 100644
--- a/lib/getmountlist.c
+++ b/lib/getmountlist.c
@@ -41,7 +41,7 @@
return start;
}
-static void deslash(char *s)
+static void octal_deslash(char *s)
{
char *o = s;
@@ -165,8 +165,8 @@
mt->opts = stpcpy(mt->device, me->mnt_fsname)+1;
strcpy(mt->opts, me->mnt_opts);
- deslash(mt->dir);
- deslash(mt->device);
+ octal_deslash(mt->dir);
+ octal_deslash(mt->device);
}
endmntent(fp);