This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
inet/tst-ether_aton.c
- To: "libc-alpha@cygnus.com" <libc-alpha@cygnus.com>
- Subject: inet/tst-ether_aton.c
- From: Scott Bambrough <scottb@corelcomputer.com>
- Date: Thu, 10 Dec 1998 11:18:13 -0500
- Organization: Corel Computer Corporation
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