commit | e47d5435de839523c1bb05c283eaec5968167db0 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Sep 09 12:29:41 2014 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Sep 09 12:29:41 2014 -0700 |
tree | ce5292ee5a44ffd20cca26eb2e2fdd4a6e368a92 | |
parent | e016605981985b64cc28a8272474ae925801548b [diff] |
Use sscanf() for parsing tag values. Neither strtoll() nor strtoull() can parse the %llx formatted tag values coming from the kernel. We know the lowest 32 bits will never be set, so fast-path the 3-character case as 0x0. Bug: 17365163 Change-Id: I238bbd2830c9335e7ab7a53362d6e12b46e0bcb3