diff options
author | Dan Austin <danielaustin@google.com> | 2016-03-28 14:22:12 -0700 |
---|---|---|
committer | Dan Austin <danielaustin@google.com> | 2016-03-28 14:22:12 -0700 |
commit | 60b976db85f009b39b0daad9389d675966aa25b8 (patch) | |
tree | e53c989270aac8b9c67b59ddede2f49868dc24e4 /init | |
parent | 8aeabe15dd38093029714dabb1713724400cf5f1 (diff) | |
download | core-60b976db85f009b39b0daad9389d675966aa25b8.tar.gz core-60b976db85f009b39b0daad9389d675966aa25b8.tar.bz2 core-60b976db85f009b39b0daad9389d675966aa25b8.zip |
Address const issues in preparation for libcxx rebase.
Change-Id: If9bf6c3ee57c3476a5661401853506551e2150cb
Diffstat (limited to 'init')
-rw-r--r-- | init/devices.cpp | 4 |
1 files 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]; |