summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_rq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netncp/ncp_rq.c')
-rw-r--r--sys/netncp/ncp_rq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netncp/ncp_rq.c b/sys/netncp/ncp_rq.c
index 4bc1d86..a415adc 100644
--- a/sys/netncp/ncp_rq.c
+++ b/sys/netncp/ncp_rq.c
@@ -253,7 +253,7 @@ ncp_request_int(struct ncp_rq *rqp)
int error, len, dosend, plen = 0, gotpacket;
if (so == NULL) {
- printf("%s: ncp_so is NULL !\n",__FUNCTION__);
+ printf("%s: ncp_so is NULL !\n",__func__);
ncp_conn_invalidate(conn);
return ENOTCONN;
}
@@ -334,7 +334,7 @@ ncp_request_int(struct ncp_rq *rqp)
if (m->m_len < sizeof(*rp)) {
m = m_pullup(m, sizeof(*rp));
if (m == NULL) {
- printf("%s: reply too short\n",__FUNCTION__);
+ printf("%s: reply too short\n",__func__);
continue;
}
}
OpenPOWER on IntegriCloud