summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-05 03:24:39 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-05 14:55:35 +0100
commit81beb7508e72b29ae7cec60b50231cbe0c1d582e (patch)
treee07af6f9107ecc1e777e37fd549b1a5ff4b82479 /src/util.h
parent39ad55a9aa99451f982628af6e14581092b2d2f6 (diff)
util: when printing status updates during boot, take terminal width into account
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index e285ec77ff..d96ce7e77b 100644
--- a/src/util.h
+++ b/src/util.h
@@ -374,10 +374,11 @@ int pipe_eof(int fd);
cpu_set_t* cpu_set_malloc(unsigned *ncpus);
-void status_vprintf(const char *format, va_list ap);
-void status_printf(const char *format, ...);
+void status_vprintf(const char *status, const char *format, va_list ap);
+void status_printf(const char *status, const char *format, ...);
void status_welcome(void);
+int fd_columns(int fd);
unsigned columns(void);
int running_in_chroot(void);