changeset 1741:fece3d1f2924

Rename a function to better describe what it does.
author Rob Landley <rob@landley.net>
date Mon, 16 Mar 2015 13:25:29 -0500
parents ca358f8731ab
children ba22c0d4273f
files lib/getmountlist.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/getmountlist.c	Sun Mar 15 19:29:15 2015 -0500
+++ b/lib/getmountlist.c	Mon Mar 16 13:25:29 2015 -0500
@@ -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);