chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
resolved: make sure we always initialize r when parsing TXT records
[elogind.git]
/
src
/
firstboot
/
firstboot.c
diff --git
a/src/firstboot/firstboot.c
b/src/firstboot/firstboot.c
index 6abffc528f953173fe658aeec37b52e359774b19..2c08ad481ba71b3dd5d759d2d941de84aedb3c36 100644
(file)
--- a/
src/firstboot/firstboot.c
+++ b/
src/firstboot/firstboot.c
@@
-68,7
+68,7
@@
static bool press_any_key(void) {
printf("-- Press any key to proceed --");
fflush(stdout);
- read_one_char(stdin, &k,
(usec_t) -1
, &need_nl);
+ read_one_char(stdin, &k,
USEC_INFINITY
, &need_nl);
if (need_nl)
putchar('\n');