summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-10 19:19:59 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-10 19:19:59 +0200
commitcd3bd60a2e4bb08526d953a323bbe1a0ace78b9e (patch)
tree465cfcaa0896697ed0f0e7d4e144f9d4f1ffbbe3 /src/shared/util.h
parent94163dd54328780b4539e7296eb0ba75b7290367 (diff)
switch-root: reopen /dev/console before we switch root
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 89e9a00afc..c8d048f9b2 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -278,6 +278,7 @@ char *format_timespan(char *buf, size_t l, usec_t t);
int make_stdio(int fd);
int make_null_stdio(void);
+int make_console_stdio(void);
unsigned long long random_ull(void);