diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-09-06 13:32:14 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 16:43:32 -0700 |
commit | 44c8b25fb3b4b67442426abdc2371e750f7a393e (patch) | |
tree | de374c871cabe327c92b4aa98f7a74e99302507a /include/linux/device.h | |
parent | 436473bc2173499ae274d0f50111d1e355006caf (diff) |
tools/hv: Parse /etc/os-release
There is a new convention, used by systemd and supported by most
distributions, to put basic OS release information in /etc/os-release.
Added some additional error checking on strdup()
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions