diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-01 06:47:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-01 06:47:04 +0000 |
commit | 2d4f0fea3ad11fb7fcd40f003227e62d06d9605e (patch) | |
tree | 0bd9778515d00c36b72dd87c6ef29e6259a6a37d | |
parent | 46166ad9b7d04eb47c6a1eef6e43e7f09bf9ec37 (diff) | |
download | coreutils-2d4f0fea3ad11fb7fcd40f003227e62d06d9605e.tar.xz |
(humblock): Use ARGMATCH in place of argmatch.
-rw-r--r-- | lib/human.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/human.c b/lib/human.c index d03a2e4e4..f7dcdfb2a 100644 --- a/lib/human.c +++ b/lib/human.c @@ -1,5 +1,5 @@ /* human.c -- print human readable file size - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999 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 @@ -258,7 +258,7 @@ humblock (char const *spec, int *block_size) if (! spec && ! (spec = getenv ("BLOCK_SIZE"))) *block_size = getenv ("POSIXLY_CORRECT") ? 512 : DEFAULT_BLOCK_SIZE; - else if (0 <= (i = argmatch (spec, block_size_args))) + else if (0 <= (i = ARGMATCH (spec, block_size_args, block_size_types))) *block_size = block_size_types[i]; else { |