From 60b976db85f009b39b0daad9389d675966aa25b8 Mon Sep 17 00:00:00 2001 From: Dan Austin Date: Mon, 28 Mar 2016 14:22:12 -0700 Subject: [PATCH] Address const issues in preparation for libcxx rebase. Change-Id: If9bf6c3ee57c3476a5661401853506551e2150cb --- init/devices.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/devices.cpp b/init/devices.cpp index 557a6acd5..e74140bf3 100644 --- a/init/devices.cpp +++ b/init/devices.cpp @@ -413,7 +413,7 @@ static void parse_event(const char *msg, struct uevent *uevent) static char **get_character_device_symlinks(struct uevent *uevent) { const char *parent; - char *slash; + const char *slash; char **links; int link_num = 0; int width; @@ -467,7 +467,7 @@ static char **get_block_device_symlinks(struct uevent *uevent) { const char *device; struct platform_node *pdev; - char *slash; + const char *slash; const char *type; char buf[256]; char link_path[256];