commit | 14966ee4ae4db34d3f1798e6413769e9f721c07f | [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 | b00fb43c178b5805d5abd4a00e38c7165649ba3e | |
parent | a53dd7f9ef51ffb1cbd955b89496dd350855dd32 [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