From a27bbd272810e147f2d847cafb6e1ed4ee6fc8e0 Mon Sep 17 00:00:00 2001 From: Dan Austin Date: Thu, 24 Mar 2016 11:28:46 -0700 Subject: [PATCH] Fix const issues in preparation for libcxx rebase. Change-Id: Id57474eb63334873ee5383f61eb918941dbb0984 --- init/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/util.cpp b/init/util.cpp index bddc3b210..4d36dfd0a 100644 --- a/init/util.cpp +++ b/init/util.cpp @@ -355,7 +355,7 @@ void make_link_init(const char *oldpath, const char *newpath) { int ret; char buf[256]; - char *slash; + const char *slash; int width; slash = strrchr(newpath, '/');