projects
/
madwifi
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unneeded PCI compatibility code
[madwifi/.git]
/
tools
/
athdebug.c
diff --git
a/tools/athdebug.c
b/tools/athdebug.c
index 6dc0d7ce36eb194a43194e86d6dcfa51c39c2239..64a1228a82029cc8cca3c38ef0030e677fa50f80 100644
(file)
--- a/
tools/athdebug.c
+++ b/
tools/athdebug.c
@@
-177,7
+177,7
@@
sysctlbyname(const char *oid0, void *oldp, size_t *oldlenp, void *newp,
if (fd == NULL)
return -1;
/* XXX: only handle ints */
- if (fscanf(fd, "%u", (int *)
oldp) != 1) {
+ if (fscanf(fd, "%u", (int *)oldp) != 1) {
fclose(fd);
return -1;
}