summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs/nwfs_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nwfs/nwfs_io.c')
-rw-r--r--sys/fs/nwfs/nwfs_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nwfs/nwfs_io.c b/sys/fs/nwfs/nwfs_io.c
index 7325ac3..e3772f0 100644
--- a/sys/fs/nwfs/nwfs_io.c
+++ b/sys/fs/nwfs/nwfs_io.c
@@ -163,7 +163,7 @@ nwfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred) {
int error, biosize;
if (vp->v_type != VREG && vp->v_type != VDIR) {
- printf("%s: vn types other than VREG or VDIR are unsupported !\n",__FUNCTION__);
+ printf("%s: vn types other than VREG or VDIR are unsupported !\n",__func__);
return EIO;
}
if (uiop->uio_resid == 0) return 0;
@@ -208,7 +208,7 @@ nwfs_writevnode(vp, uiop, cred, ioflag)
int error = 0;
if (vp->v_type != VREG) {
- printf("%s: vn types other than VREG unsupported !\n",__FUNCTION__);
+ printf("%s: vn types other than VREG unsupported !\n",__func__);
return EIO;
}
NCPVNDEBUG("ofs=%d,resid=%d\n",(int)uiop->uio_offset, uiop->uio_resid);
OpenPOWER on IntegriCloud