mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Fixed printf format errors.
This commit is contained in:
parent
65a87ccc7c
commit
9f15c7ece5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37304
@ -70,7 +70,7 @@ int opienewseed FUNCTION((seed), char *seed)
|
||||
j = 1;
|
||||
}
|
||||
|
||||
sprintf(seed, "%s%04d", buf, j);
|
||||
sprintf(seed, "%s%04ld", buf, j);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ ipx_ntoa(addr)
|
||||
static char *spectHex();
|
||||
|
||||
net.net_e = addr.x_net;
|
||||
sprintf(obuf, "%lx", ntohl(net.long_e));
|
||||
sprintf(obuf, "%lx", (u_long)ntohl(net.long_e));
|
||||
cp = spectHex(obuf);
|
||||
cp2 = cp + 1;
|
||||
while (*up==0 && up < uplim) up++;
|
||||
|
Loading…
Reference in New Issue
Block a user