diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-09-06 20:32:14 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 23:43:32 (GMT) |
commit | 44c8b25fb3b4b67442426abdc2371e750f7a393e (patch) | |
tree | de374c871cabe327c92b4aa98f7a74e99302507a /fs/drop_caches.c | |
parent | 436473bc2173499ae274d0f50111d1e355006caf (diff) | |
download | linux-44c8b25fb3b4b67442426abdc2371e750f7a393e.tar.xz |
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 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions