chiark / gitweb /
bus_property_append_long: use signed long and 'x' in the signature for DBUS_TYPE_INT64
[elogind.git] / src / ask-password.c
index 6330369b4f20e4cddaef0ce375b6a1a097fbf4de..5162f62eeec95cd52f8b60c93fbab200d3c39ad1 100644 (file)
 #include "util.h"
 #include "strv.h"
 #include "ask-password-api.h"
+#include "def.h"
 
 static const char *arg_icon = NULL;
 static const char *arg_message = NULL;
 static bool arg_use_tty = true;
-static usec_t arg_timeout = 60 * USEC_PER_SEC;
+static usec_t arg_timeout = DEFAULT_TIMEOUT_USEC;
 static bool arg_accept_cached = false;
 static bool arg_multiple = false;