Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 21d578aa authored by Mukesh Ojha's avatar Mukesh Ojha Committed by Srinivasarao P
Browse files

soc: qcom: dcc: Use sscanf instead of strlcpy



When we write string on sysfs node it appends '\n' at the end which
modifies passed string. 'strlcpy' does not take care of removing '\n'
so use sscanf which truncate '\n' from the original string.

Change-Id: Id99124f380ad4dc3c9c0ffcaee045304f131844e
CRs-Fixed: 2193257
Signed-off-by: default avatarMukesh Ojha <mojha@codeaurora.org>
Signed-off-by: default avatarSrinivasarao P <spathi@codeaurora.org>
parent 0b5ccb81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment