diff options
-rw-r--r-- | src/or/hibernate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index 77e198d158..4024a11345 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -167,8 +167,8 @@ accounting_parse_options(or_options_t *options, int validate_only) idx = unit==UNIT_DAY?1:2; if (smartlist_len(items) != (idx+1)) { - warn(LD_CONFIG,"Accounting unit '%s' requires %d arguments", - s, idx+1); + warn(LD_CONFIG,"Accounting unit '%s' requires %d argument%s.", + s, idx, (idx>1)?"s":""); goto err; } s = smartlist_get(items, idx); |