inet/tst-ether_aton.c

Scott Bambrough scottb@corelcomputer.com
Thu Dec 10 07:50:00 GMT 1998


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



More information about the Libc-alpha mailing list