| commit | b88028ab64c435d23f18729925889a61bd17b9c2 | [log] [tgz] |
|---|---|---|
| author | Mike Frysinger <[email protected]> | Mon Feb 03 20:56:13 2014 |
| committer | chrome-internal-fetch <[email protected]> | Wed Feb 05 03:22:28 2014 |
| tree | 97b31fa216314270adaf2cec4270b0b97eb31227 | |
| parent | 8e05e0de29e20e5d3b19acc37eb3a947ccb4eff4 [diff] |
simplify usage There is no reason to strdup the string (even with the POSIX basename), so drop that. Further, we want to use the GNU variant which doesn't modify its argument, so drop the libgen.h include. The string.h header will provide the sane variant. BUG=None TEST=built & ran bootstat Change-Id: I9cd55e0ce064c0a04e9f13c503b334cb98b065c1 Reviewed-on: https://chromium-review.googlesource.com/184626 Reviewed-by: Richard Barnette <[email protected]> Tested-by: Mike Frysinger <[email protected]> Commit-Queue: Mike Frysinger <[email protected]>