diff options
-rw-r--r-- | libfshelp-tests/test-lockf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libfshelp-tests/test-lockf.c b/libfshelp-tests/test-lockf.c index 629069b8..a96a7d67 100644 --- a/libfshelp-tests/test-lockf.c +++ b/libfshelp-tests/test-lockf.c @@ -110,7 +110,7 @@ int parse_args (int argc, char **argv, char **file_name, *len = tmp; } else - error (1, EINVAL, "%s", str); + error (1, EINVAL, "missing number"); continue; } if (strncmp (str, "st", 2) == 0) @@ -127,7 +127,7 @@ int parse_args (int argc, char **argv, char **file_name, *sleep_time = tmp; } else - error (1, EINVAL, "%s", str); + error (1, EINVAL, "missing number"); continue; } error (1, EINVAL, "%s", str); |