From 717603e391b52983ca1fd218e7333a1b9dfc5c05 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 3 Jul 2014 17:50:55 +0200 Subject: machinectl: show /etc/os-release information of container in status output --- src/sleep/sleep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sleep') diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c index 118d10c23a..5adbea5956 100644 --- a/src/sleep/sleep.c +++ b/src/sleep/sleep.c @@ -68,7 +68,7 @@ static int write_state(FILE **f, char **states) { STRV_FOREACH(state, states) { int k; - k = write_string_to_file(*f, *state); + k = write_string_stream(*f, *state); if (k == 0) return 0; log_debug("Failed to write '%s' to /sys/power/state: %s", -- cgit v1.2.3-54-g00ecf