summaryrefslogtreecommitdiff
path: root/src/tty-ask-password-agent
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-13 15:45:45 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-13 15:45:45 +0200
commit4b2615684b312a6457d9fdd8f455bc2a0def9bc9 (patch)
tree488455a97c249651471c292cda1ee8b1bc011a10 /src/tty-ask-password-agent
parenta504223d9a448ab338e369997c39c04067c8f906 (diff)
log: correct usage of logging API at a few places
Diffstat (limited to 'src/tty-ask-password-agent')
-rw-r--r--src/tty-ask-password-agent/tty-ask-password-agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c
index 2e74a25972..2ab3401e6f 100644
--- a/src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/src/tty-ask-password-agent/tty-ask-password-agent.c
@@ -738,6 +738,7 @@ static int parse_argv(int argc, char *argv[]) {
int main(int argc, char *argv[]) {
int r;
+ log_set_target(LOG_TARGET_AUTO);
log_parse_environment();
log_open();