summaryrefslogtreecommitdiff
path: root/src/readahead/readahead.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/readahead/readahead.c')
-rw-r--r--src/readahead/readahead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readahead/readahead.c b/src/readahead/readahead.c
index abeecc763..29255c9f0 100644
--- a/src/readahead/readahead.c
+++ b/src/readahead/readahead.c
@@ -108,7 +108,7 @@ static int parse_argv(int argc, char *argv[]) {
}
case ARG_TIMEOUT:
- if (parse_usec(optarg, &arg_timeout) < 0 || arg_timeout <= 0) {
+ if (parse_sec(optarg, &arg_timeout) < 0 || arg_timeout <= 0) {
log_error("Failed to parse timeout %s.", optarg);
return -EINVAL;
}