mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 23:47:39 +01:00
(main): Fix a typo in the argument-checking code.
(Logical change 1.290)
This commit is contained in:
parent
46b7b8196c
commit
6ef1640a5f
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ main (int argc, char **argv)
|
||||||
int ret, verbose = 0;
|
int ret, verbose = 0;
|
||||||
unw_cursor_t c;
|
unw_cursor_t c;
|
||||||
|
|
||||||
if (argc > 1 && strcmp (argv[0], "-v") == 0)
|
if (argc > 1 && strcmp (argv[1], "-v") == 0)
|
||||||
verbose = 1;
|
verbose = 1;
|
||||||
|
|
||||||
memset (&acc, 0, sizeof (acc));
|
memset (&acc, 0, sizeof (acc));
|
||||||
|
|
Loading…
Reference in a new issue