aboutsummaryrefslogtreecommitdiff
path: root/stand/libsa/bootparam.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-03-13 16:33:00 +0000
committerWarner Losh <imp@FreeBSD.org>2018-03-13 16:33:00 +0000
commit56e53cb8ef000c3ef72337a4095987a932cdedef (patch)
treebd53d80c2702e6ceca59a093eb5d39ec37c00c59 /stand/libsa/bootparam.c
parent011bbaa5138e04e38ff28537ae734216bdbfe270 (diff)
Notes
Diffstat (limited to 'stand/libsa/bootparam.c')
-rw-r--r--stand/libsa/bootparam.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/stand/libsa/bootparam.c b/stand/libsa/bootparam.c
index 1de2d53d77fe..30e109e75742 100644
--- a/stand/libsa/bootparam.c
+++ b/stand/libsa/bootparam.c
@@ -77,7 +77,7 @@ n_short bp_server_port; /* net order */
* (Note, really four ints, NOT chars. Blech.)
*/
struct xdr_inaddr {
- u_int32_t atype;
+ uint32_t atype;
int32_t addr[4];
};
@@ -108,16 +108,16 @@ bp_whoami(int sockfd)
{
/* RPC structures for PMAPPROC_CALLIT */
struct args {
- u_int32_t prog;
- u_int32_t vers;
- u_int32_t proc;
- u_int32_t arglen;
+ uint32_t prog;
+ uint32_t vers;
+ uint32_t proc;
+ uint32_t arglen;
struct xdr_inaddr xina;
} *args;
struct repl {
- u_int16_t _pad;
- u_int16_t port;
- u_int32_t encap_len;
+ uint16_t _pad;
+ uint16_t port;
+ uint32_t encap_len;
/* encapsulated data here */
n_long capsule[64];
} *repl;