[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Fix number in error message
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv15336
Modified Files:
hibernate.c
Log Message:
Fix number in error message
Index: hibernate.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/hibernate.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- hibernate.c 25 Oct 2005 18:01:01 -0000 1.62
+++ hibernate.c 14 Nov 2005 19:17:28 -0000 1.63
@@ -167,8 +167,8 @@
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);