summaryrefslogtreecommitdiff
path: root/src/login/loginctl.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-12-10 20:24:18 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-12-11 21:47:06 +0100
commitc4ef05484df942b6cc2037d33dd56cd209d1db9b (patch)
tree57a8709fb63978decef7e480d5ef12b4af1e3b86 /src/login/loginctl.c
parent015df1f78f443f91b354e0c4b4cb76de86c838eb (diff)
use correct format types
Diffstat (limited to 'src/login/loginctl.c')
-rw-r--r--src/login/loginctl.c2
1 files changed, 1 insertions, 1 deletions
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");
}