diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2009-06-24 18:24:20 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2009-06-24 18:24:20 +0000 |
| commit | 12a39a13db6fadccc0ff1895a6899ea0242b8a56 (patch) | |
| tree | 3e847d8dfce107a2e351ec016e6d57599a09d035 /tools | |
| parent | 5061de23fa8552cbbb923a6bb1affd5bcbaab533 (diff) | |
Notes
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/tools/ath/athpoke/athpoke.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/tools/ath/athpoke/athpoke.c b/tools/tools/ath/athpoke/athpoke.c index 2d87154a3514..82ec550c2bef 100644 --- a/tools/tools/ath/athpoke/athpoke.c +++ b/tools/tools/ath/athpoke/athpoke.c @@ -105,8 +105,7 @@ main(int argc, char *argv[]) reg = (dr != NULL) ? dr->addr : (uint32_t) strtoul(argv[0], NULL, 0); if (cp != NULL) regwrite(s, &atd, reg, (uint32_t) strtoul(cp, NULL, 0)); - else - printf("%s = %08x\n", argv[0], regread(s, &atd, reg)); + printf("%s = %08x\n", argv[0], regread(s, &atd, reg)); } return 0; } |
