diff options
author | Rob Landley <rob@landley.net> | 2015-03-16 13:25:29 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-03-16 13:25:29 -0500 |
commit | d111b9572125b70f821e89ac118c80bc4d9ad5b6 (patch) | |
tree | 82077d3aab2a8b7f08ee683356bcea0c11e0c9b7 /lib | |
parent | a9f4ec26c8594df7410fa0e22dd7044d9ac6d5c6 (diff) | |
download | toybox-d111b9572125b70f821e89ac118c80bc4d9ad5b6.tar.gz |
Rename a function to better describe what it does.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getmountlist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/getmountlist.c b/lib/getmountlist.c index 5f4bc63b..c0e68750 100644 --- 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); |