commit | 7085e056365aa40d54d78bce55e24c01c5b436a8 | [log] [tgz] |
---|---|---|
author | Mukesh Ojha <mojha@codeaurora.org> | Wed Feb 21 19:17:54 2018 +0530 |
committer | Mukesh Ojha <mojha@codeaurora.org> | Thu Feb 22 12:33:18 2018 +0530 |
tree | 166a7d2c49310c859a44324c1ddfaba01c8a8f2d | |
parent | 901d889adb6520ab1a19ec2e90ce743642d11504 [diff] |
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: Mukesh Ojha <mojha@codeaurora.org>