ANDROID: dm: fix dm_substitute_devices()
authorJeremy Compostella <jeremy.compostella@intel.com>
Mon, 2 May 2016 15:29:28 +0000 (17:29 +0200)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 18 Aug 2016 13:26:03 +0000 (18:56 +0530)
commitb8681ffa6859d3f267d625d4770987df5832a42b
tree097cbb130117a6b2e28061e377fd585113fa8c9c
parente33d750b4ebc99a7804d096a28c29beccd77ee85
ANDROID: dm: fix dm_substitute_devices()

When candidate is the last parameter, candidate_end points to the '\0'
character and not the DM_FIELD_SEP character.  In such a situation, we
should not move the candidate_end pointer one character backward.

Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
init/do_mounts_dm.c