Fix format warn (#96)
* fix warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' * fix warning: implicit declaration of function 'up_init_exidx'
This commit is contained in:
parent
84153ad1a5
commit
f8bcd58be2
|
@ -51,6 +51,7 @@
|
|||
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/addrenv.h>
|
||||
#include <nuttx/elf.h>
|
||||
#include <nuttx/mm/mm.h>
|
||||
#include <nuttx/binfmt/elf.h>
|
||||
|
||||
|
|
|
@ -538,7 +538,7 @@ static int netprocfs_errors(FAR struct netprocfs_file_s *netfile)
|
|||
stats = &dev->d_statistics;
|
||||
|
||||
return snprintf(netfile->line, NET_LINELEN , "\tTotal Errors: %08x\n\n",
|
||||
(unsigned long)stats->errors);
|
||||
stats->errors);
|
||||
}
|
||||
#endif /* CONFIG_NETDEV_STATISTICS */
|
||||
|
||||
|
|
Loading…
Reference in New Issue