forked from influxdata/telegraf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TELEGRAF-6: ah_wireless input plugins ioctl error
size of int is different in golang and C. In 32 bit system, size of int is 4 in golang. But when 64 bit system is used, size of int becomes 8. Where as in C size of int is always 4 regardless of CPU. This is creating struct interpretation wrong in ioctl handler in 64 bit systems [AP5K]. Correcting it to use int32 instead of int.
- Loading branch information
Showing
2 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters