summaryrefslogtreecommitdiffstats
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-10 08:55:40 +0000
committerphk <phk@FreeBSD.org>2005-02-10 08:55:40 +0000
commitbdc8daf459a072aef25aa3ac46e8db5ec2b5c894 (patch)
treeb0a0dcaade429fb1137060f118d76d03ded9a279 /sys/sys/vnode.h
parent5d1652b89d501106b492b3ed096ffadf96ecb325 (diff)
downloadFreeBSD-src-bdc8daf459a072aef25aa3ac46e8db5ec2b5c894.zip
FreeBSD-src-bdc8daf459a072aef25aa3ac46e8db5ec2b5c894.tar.gz
Add __printflike() to vn_printf()
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index fb6281a..86bb0e7 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -613,7 +613,7 @@ int vinvalbuf(struct vnode *vp, int save,
struct thread *td, int slpflag, int slptimeo);
int vtruncbuf(struct vnode *vp, struct ucred *cred, struct thread *td,
off_t length, int blksize);
-void vn_printf(struct vnode *vp, const char *fmt, ...);
+void vn_printf(struct vnode *vp, const char *fmt, ...) __printflike(2,3);
#define vprint(label, vp) vn_printf((vp), "%s\n", (label))
int vrecycle(struct vnode *vp, struct thread *td);
int vn_close(struct vnode *vp,
OpenPOWER on IntegriCloud