summaryrefslogtreecommitdiff
path: root/lib/human.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-07-26 08:28:56 +0000
committerBruno Haible <bruno@clisp.org>2007-07-26 08:28:56 +0000
commitae758e2cf41d0162760624407a2ee98e50dcb181 (patch)
treeb26412aa99104fe93f7b581c9d831d134cdaea74 /lib/human.c
parentc03635e1ae69ad9fc848ed85ed5dc8e0c7c9b68c (diff)
downloadgnulib-ae758e2cf41d0162760624407a2ee98e50dcb181.tar.gz
Revert last patch.
Diffstat (limited to 'lib/human.c')
-rw-r--r--lib/human.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/human.c b/lib/human.c
index 5b31d06c07..ecf4c97ce5 100644
--- a/lib/human.c
+++ b/lib/human.c
@@ -1,7 +1,7 @@
/* human.c -- print human readable file size
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007 Free Software Foundation, Inc.
+ 2005, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -464,8 +464,7 @@ humblock (char const *spec, uintmax_t *block_size, int *options)
}
int
-human_options (char const *spec, bool report_errors, char const *option,
- uintmax_t *block_size)
+human_options (char const *spec, bool report_errors, uintmax_t *block_size)
{
int opts;
strtol_error e = humblock (spec, block_size, &opts);
@@ -475,6 +474,6 @@ human_options (char const *spec, bool report_errors, char const *option,
e = LONGINT_INVALID;
}
if (e != LONGINT_OK && report_errors)
- STRTOL_FATAL_ERROR (spec, option, e);
+ STRTOL_FATAL_ERROR (spec, _("block size"), e);
return opts;
}