chiark / gitweb /
build-sys: add a makefile target to run all tests through valgrind
[elogind.git] / src / ask-password / ask-password.c
index 5f675700f8ad7ff34a0b1570d4b76eaab02cc5c6..238cf12080777e86cb700cde6874302f2dc6a9dd 100644 (file)
@@ -102,7 +102,7 @@ static int parse_argv(int argc, char *argv[]) {
                         break;
 
                 case ARG_TIMEOUT:
-                        if (parse_usec(optarg, &arg_timeout) < 0) {
+                        if (parse_sec(optarg, &arg_timeout) < 0) {
                                 log_error("Failed to parse --timeout parameter %s", optarg);
                                 return -EINVAL;
                         }