diff options
author | arr <arr@FreeBSD.org> | 2002-05-17 00:20:40 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2002-05-17 00:20:40 +0000 |
commit | efd21da00cc916d77bf7a7ebd0177d427196176c (patch) | |
tree | ce2d1cd51278daceaf7010a6d099f04b332056f5 /sbin/atm/atm/atm_print.c | |
parent | 503019728f946c90e8a3791a86b1246729ce9d08 (diff) | |
download | FreeBSD-src-efd21da00cc916d77bf7a7ebd0177d427196176c.zip FreeBSD-src-efd21da00cc916d77bf7a7ebd0177d427196176c.tar.gz |
- Replace UM_* macros by replacing them with the appropriate function
call. These changes are similar to the ones made to atmarpd and scsp.
Diffstat (limited to 'sbin/atm/atm/atm_print.c')
-rw-r--r-- | sbin/atm/atm/atm_print.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/atm/atm/atm_print.c b/sbin/atm/atm/atm_print.c index e02e9d1..2992cdf 100644 --- a/sbin/atm/atm/atm_print.c +++ b/sbin/atm/atm/atm_print.c @@ -290,7 +290,7 @@ print_arp_info(ai) /* * Decode the flags */ - UM_ZERO(flags, sizeof(flags)); + bzero(flags, sizeof(flags)); if (ai->aap_flags & ARPF_VALID) { strcat(flags, "V"); } @@ -313,7 +313,7 @@ print_arp_info(ai) /* * Format the age */ - UM_ZERO(age, sizeof(age)); + bzero(age, sizeof(age)); if (!(ai->aap_flags & ARPF_VALID)) { strcpy(age, "-"); } else { @@ -511,7 +511,7 @@ print_intf_info(ni) /* * Get the range of NIFs on the physical interface */ - UM_ZERO(nif_names, sizeof(nif_names)); + bzero(nif_names, sizeof(nif_names)); if (strlen(ni->anp_nif_pref) == 0) { strcpy(nif_names, "-"); } else { @@ -583,7 +583,7 @@ print_ip_vcc_info(ai) /* * Decode VCC flags */ - UM_ZERO(flags, sizeof(flags)); + bzero(flags, sizeof(flags)); if (ai->aip_flags & IVF_PVC) { strcat(flags, "P"); } @@ -797,7 +797,7 @@ print_vcc_info(vi) /* * Translate VCC direction */ - UM_ZERO(dir_name, sizeof(dir_name)); + bzero(dir_name, sizeof(dir_name)); if (vi->avp_type & VCC_IN) strcat(dir_name, "In"); if (vi->avp_type & VCC_OUT) |