1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 03:53:43 +01:00

(main): Fix a typo in the argument-checking code.

(Logical change 1.290)
This commit is contained in:
mostang.com!davidm 2005-05-03 09:13:17 +00:00
parent 46b7b8196c
commit 6ef1640a5f

View file

@ -110,7 +110,7 @@ main (int argc, char **argv)
int ret, verbose = 0;
unw_cursor_t c;
if (argc > 1 && strcmp (argv[0], "-v") == 0)
if (argc > 1 && strcmp (argv[1], "-v") == 0)
verbose = 1;
memset (&acc, 0, sizeof (acc));