diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-03-18 11:00:53 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-03-18 11:00:53 -0700 |
commit | 734cacc097d99844249c5e1b73f7583648a53bf6 (patch) | |
tree | 647068d45fea5bacad9e189ecef0dea8c40c2bee /lib/argmatch.c | |
parent | 363497c93a59235478cd80d536a17023e595cc79 (diff) | |
download | gnulib-734cacc097d99844249c5e1b73f7583648a53bf6.tar.gz |
argmatch: fix testing typo
Problem and fix reported by Gisle Vanem in:
https://lists.gnu.org/r/bug-gnulib/2021-03/msg00083.html
* lib/argmatch.c (main) [TEST]: Fix address-of typo.
Diffstat (limited to 'lib/argmatch.c')
-rw-r--r-- | lib/argmatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/argmatch.c b/lib/argmatch.c index a44aaa021a..dfdb4e3eea 100644 --- a/lib/argmatch.c +++ b/lib/argmatch.c @@ -266,7 +266,7 @@ main (int argc, const char *const *argv) backup_args, backup_vals); printf ("The version control is '%s'\n", - ARGMATCH_TO_ARGUMENT (backup_type, backup_args, backup_vals)); + ARGMATCH_TO_ARGUMENT (&backup_type, backup_args, backup_vals)); return 0; } |