Use correct format strings
Both idle and til_or_since are defined as unsigned longs. Signed-off-by: Christoph Lohmann <20h@r-36.net>master
parent
7d3a822d38
commit
8308a0086f
|
|
@ -88,14 +88,14 @@ main(int argc, char *argv[]) {
|
|||
printf("0\n");
|
||||
break;
|
||||
case ScreenSaverOff:
|
||||
printf("%ld\n", info->til_or_since);
|
||||
printf("%lu\n", info->til_or_since);
|
||||
break;
|
||||
case ScreenSaverDisabled:
|
||||
printf("-1\n");
|
||||
break;
|
||||
}
|
||||
} else if (showidle) {
|
||||
printf("%ld\n", info->idle);
|
||||
printf("%lu\n", info->idle);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue