From c4ef05484df942b6cc2037d33dd56cd209d1db9b Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Wed, 10 Dec 2014 20:24:18 +0100 Subject: use correct format types --- src/login/loginctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login/loginctl.c') diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 6505eb89c1..6881edb7e4 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -423,7 +423,7 @@ static int print_session_status_info(sd_bus *bus, const char *path, bool *new_li printf("\t Seat: %s", i.seat); if (i.vtnr > 0) - printf("; vc%i", i.vtnr); + printf("; vc%u", i.vtnr); printf("\n"); } -- cgit v1.2.3-54-g00ecf