X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fask-password.c;h=bcee6863c996e85a22ed2ebfe572fcc2de71ef5d;hb=b0c918b97f1abb160d8df2b94deb03efcb4fcf8f;hp=7247c7eda6df84cc00a76d7507f5fc54e3c5a122;hpb=1b39d4b9d271f2309a193d4e4fae6633248b0e94;p=elogind.git diff --git a/src/ask-password.c b/src/ask-password.c index 7247c7eda..bcee6863c 100644 --- a/src/ask-password.c +++ b/src/ask-password.c @@ -93,7 +93,7 @@ fail: static int help(void) { printf("%s [OPTIONS...] MESSAGE\n\n" - "Query the user for a passphrase.\n\n" + "Query the user for a system passphrase, via the TTY or an UI agent.\n\n" " -h --help Show this help\n" " --icon=NAME Icon name\n" " --timeout=USEC Timeout in usec\n" @@ -171,7 +171,7 @@ static int ask_agent(void) { int fd = -1, r; FILE *f = NULL; char *socket_name = NULL; - int socket_fd, signal_fd; + int socket_fd = -1, signal_fd; sigset_t mask; usec_t not_after;