Misleading error return decodes in debug messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have noticed a number of places in the code where the function strerror is used to decode error return codes returned from the libnl libraries. This results in misleading debug messages. The function strerror decodes standard Linux errno codes. libnl reuses these error codes for its own purposes. The library provides its own function "nl_geterror" to provide text strings from error numbers. There are a significant number of places where strerror should be replaced by nl_geterror.

Roger



_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux