summaryrefslogtreecommitdiffstats
path: root/usr.sbin/atm/scspd/scsp_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/atm/scspd/scsp_log.c')
-rw-r--r--usr.sbin/atm/scspd/scsp_log.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/atm/scspd/scsp_log.c b/usr.sbin/atm/scspd/scsp_log.c
index 8de8d2c..8b76c3e 100644
--- a/usr.sbin/atm/scspd/scsp_log.c
+++ b/usr.sbin/atm/scspd/scsp_log.c
@@ -153,7 +153,7 @@ scsp_open_trace()
/*
* Build a file name
*/
- UM_ZERO(fname, sizeof(fname));
+ bzero(fname, sizeof(fname));
sprintf(fname, "/tmp/scspd.%d.trace", getpid());
/*
@@ -230,9 +230,8 @@ scsp_trace_msg(dcsp, msg, dir)
/*
* Copy the remote IP address into a struct in_addr
*/
- UM_COPY(dcsp->sd_dcsid.id, &addr.s_addr,
- sizeof(struct in_addr));
-
+ bcopy(dcsp->sd_dcsid.id, &addr.s_addr, sizeof(struct in_addr));
+
/*
* Write the message to the trace file, if it's open
*/
OpenPOWER on IntegriCloud