From baa89da40a1d42242c9c62603501ada7e9e52613 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 26 Sep 2013 19:57:58 +0200 Subject: cgroup: when referencing cgroup controller trees allow omission of the path --- src/cgls/cgls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cgls') diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c index c3229ad2d3..c689b5c471 100644 --- a/src/cgls/cgls.c +++ b/src/cgls/cgls.c @@ -156,7 +156,9 @@ int main(int argc, char *argv[]) { for (i = optind; i < argc; i++) { int q; - printf("%s:\n", argv[i]); + + fprintf(stdout, "%s:\n", argv[i]); + fflush(stdout); if (arg_machine) root = strjoin("machine/", arg_machine, "/", argv[i], NULL); -- cgit v1.2.3