projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9f4ec2
)
Rename a function to better describe what it does.
author
Rob Landley
<rob@landley.net>
Mon, 16 Mar 2015 18:25:29 +0000
(13:25 -0500)
committer
Rob Landley
<rob@landley.net>
Mon, 16 Mar 2015 18:25:29 +0000
(13:25 -0500)
lib/getmountlist.c
patch
|
blob
|
history
diff --git
a/lib/getmountlist.c
b/lib/getmountlist.c
index
5f4bc63
..
c0e6875
100644
(file)
--- a/
lib/getmountlist.c
+++ b/
lib/getmountlist.c
@@
-41,7
+41,7
@@
char *comma_iterate(char **list, int *len)
return start;
}
-static void deslash(char *s)
+static void
octal_
deslash(char *s)
{
char *o = s;
@@
-165,8
+165,8
@@
struct mtab_list *xgetmountlist(char *path)
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);