diff options
author | adrian <adrian@FreeBSD.org> | 2011-04-05 16:12:38 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-04-05 16:12:38 +0000 |
commit | 4166e50b5a2e40486b7c00d5f8791429b45e44eb (patch) | |
tree | 993997a530f80c7d31e73c209a78fc6889d19c65 /tools | |
parent | 45d22c55074e1afec867c885d27bc871a6a105ec (diff) | |
download | FreeBSD-src-4166e50b5a2e40486b7c00d5f8791429b45e44eb.zip FreeBSD-src-4166e50b5a2e40486b7c00d5f8791429b45e44eb.tar.gz |
* re-enable marker stuff, I accidentally disabled it during debugging
* correct arg check
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/ath/arcode/arcode.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/tools/ath/arcode/arcode.c b/tools/tools/ath/arcode/arcode.c index deed16d..31e02cd 100644 --- a/tools/tools/ath/arcode/arcode.c +++ b/tools/tools/ath/arcode/arcode.c @@ -63,12 +63,10 @@ static void op_mark(struct athregrec *a) { const char *s = "UNKNOWN"; -#if 0 if (a->reg <= MAX_MARKERS) s = markers[a->reg]; -#endif - printf("mark\t%d (%d): %d\n", s, a->reg, a->val); + printf("mark\t%s (%d): %d\n", s, a->reg, a->val); } int @@ -79,7 +77,7 @@ main(int argc, const char *argv[]) struct athregrec a; int r; - if (argc < 1) { + if (argc < 2) { printf("usage: %s <ahq log>\n", argv[0]); exit(127); } |