This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

inet/tst-ether_aton.c


This code generates warnings 'unknown conversion type character 'h' in format':

printf ("ether_aton (\"12:34:56:78:9a:bc\") =
%hhx:%hhx:%hhx:%hhx:%hhx:%hhx\n",          			         
val->ether_addr_octet[0],
          val->ether_addr_octet[1],
          val->ether_addr_octet[2],
          val->ether_addr_octet[3],
          val->ether_addr_octet[4],
          val->ether_addr_octet[5]);

I think there are one too many h's, although I'm not familiar with this
particular syntax.

Scott


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]