summaryrefslogtreecommitdiffstats
path: root/apps/s_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/s_time.c')
-rw-r--r--apps/s_time.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/s_time.c b/apps/s_time.c
index 1a58e19de5..1c6ed78b2c 100644
--- a/apps/s_time.c
+++ b/apps/s_time.c
@@ -234,8 +234,7 @@ int s_time_main(int argc, char **argv)
}
/* No extra arguments. */
- argc = opt_num_rest();
- if (argc != 0)
+ if (!opt_check_rest_arg(NULL))
goto opthelp;
if (cipher == NULL)