Revert "ANDROID: dm: do_mounts_dm: fix dm_substitute_devices()"
This reverts commit 052d02c07c.
Bug: 129143048
Test: Boot cuttlefish from AOSP
Signed-off-by: Sandeep Patil <sspatil@android.com>
This commit is contained in:
@@ -176,8 +176,7 @@ static void __init dm_substitute_devices(char *str, size_t str_len)
|
||||
continue;
|
||||
|
||||
/* Temporarily terminate with a nul */
|
||||
if (*candidate_end)
|
||||
candidate_end--;
|
||||
candidate_end--;
|
||||
old_char = *candidate_end;
|
||||
*candidate_end = '\0';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user