diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-11-14 19:17:28 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-11-14 19:17:28 +0000 |
commit | 669fdde91bda9accd874b99d0f349e5cd620bc7e (patch) | |
tree | a281731621b8fda0d13b4a341426c9ea7b07f35f /src/or | |
parent | 4ea6d71a26419d84489731ac63c896af4a86991a (diff) | |
download | tor-669fdde91bda9accd874b99d0f349e5cd620bc7e.tar tor-669fdde91bda9accd874b99d0f349e5cd620bc7e.tar.gz |
Fix number in error message
svn:r5369
Diffstat (limited to 'src/or')
-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 77e198d15..4024a1134 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); |