summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2013-02-20 09:19:14 -0800
committerJoern Engel <joern@logfs.org>2013-02-20 09:19:14 -0800
commit35e3dfff9af04ee572a4bfe36d86971e2f7950cf (patch)
tree7b611d20d4c4debe845c1516c5ecac71eb6903b2 /init
parent19f949f52599ba7c3f67a5897ac6be14bfcb1200 (diff)
do_mounts: constify name_to_dev_t parameter
Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'init')
-rw-r--r--init/do_mounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 1d1b6348f903..da96f85cae18 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -202,7 +202,7 @@ done:
* bangs.
*/
-dev_t name_to_dev_t(char *name)
+dev_t name_to_dev_t(const char *name)
{
char s[32];
char *p;