Fix format warning. This is WARNS=9, std=c99 clean on i386.

This commit is contained in:
Mark Murray 2003-05-03 10:16:51 +00:00
parent fcfa4c9589
commit 97daf7ec12
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114576

View File

@ -89,7 +89,7 @@ gread(struct termios *tp, char *s)
if (!(ep = strchr(p, '=')))
gerr(p);
*ep++ = '\0';
(void)sscanf(ep, "%lx", &tmp);
(void)sscanf(ep, "%lx", (u_long *)&tmp);
#define CHK(s) (*p == s[0] && !strcmp(p, s))
if (CHK("cflag")) {