diff options
| author | itojun <itojun@NetBSD.org> | 1999-07-01 20:10:27 +0000 |
|---|---|---|
| committer | itojun <itojun@NetBSD.org> | 1999-07-01 20:10:27 +0000 |
| commit | afb0d8e6e1f26bc5e9af782f4ee11bfabef39736 (patch) | |
| tree | bdc278640b699b42e24e56022cd6c71d0b315de3 /sys/netkey/key_debug.c | |
| parent | 1f731b1e070604eac275bdf60f3462fe3d04b03a (diff) | |
less warning on userland compilation.
Diffstat (limited to 'sys/netkey/key_debug.c')
| -rw-r--r-- | sys/netkey/key_debug.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netkey/key_debug.c b/sys/netkey/key_debug.c index 97ca0da017c..fe57f6390c8 100644 --- a/sys/netkey/key_debug.c +++ b/sys/netkey/key_debug.c @@ -27,7 +27,7 @@ * SUCH DAMAGE. */ -/* KAME @(#)$Id: key_debug.c,v 1.2 1999/07/01 08:12:59 itojun Exp $ */ +/* KAME @(#)$Id: key_debug.c,v 1.3 1999/07/01 20:10:27 itojun Exp $ */ #ifdef _KERNEL # define KERNEL @@ -315,8 +315,9 @@ kdebug_sadb_sa(ext) if (ext == NULL) panic("kdebug_sadb_sa: NULL pointer was passed.\n"); - printf("sadb_sa{ spi=%lu replay=%u state=%u\n", - ntohl(sa->sadb_sa_spi), sa->sadb_sa_replay, sa->sadb_sa_state); + printf("sadb_sa{ spi=%u replay=%u state=%u\n", + (u_int32_t)ntohl(sa->sadb_sa_spi), sa->sadb_sa_replay, + sa->sadb_sa_state); printf(" auth=%u encrypt=%u flags=0x%08x }\n", sa->sadb_sa_auth, sa->sadb_sa_encrypt, sa->sadb_sa_flags); |
