diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2013-01-25 22:25:15 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2013-01-25 22:25:15 +0000 |
commit | 229ac6093c2af30eb321c131f4e1e753085d51ee (patch) | |
tree | 7061e625976b51f782adeb041e834c0be47b013e /sys | |
parent | 8a79eabcd16e4908347f828d9520b683cef54f1c (diff) |
Add _KERNEL guard to hide dprintf macro from userland.
ok millert@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ntfs/ntfs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ntfs/ntfs.h b/sys/ntfs/ntfs.h index 4a9f60b50fa..2eeb705ba34 100644 --- a/sys/ntfs/ntfs.h +++ b/sys/ntfs/ntfs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs.h,v 1.13 2013/01/18 05:09:21 jsing Exp $ */ +/* $OpenBSD: ntfs.h,v 1.14 2013/01/25 22:25:14 brad Exp $ */ /* $NetBSD: ntfs.h,v 1.5 2003/04/24 07:50:19 christos Exp $ */ /*- @@ -293,6 +293,7 @@ struct ntfsmount { #define ntfs_btocnoff(off) (off_t)((off) % ((ntmp)->ntm_spc * (ntmp)->ntm_bps)) #define ntfs_bntob(bn) (int32_t)((bn) * (ntmp)->ntm_bps) +#ifdef _KERNEL #if defined(NTFS_DEBUG) extern int ntfs_debug; #define DPRINTF(X, Y) do { if(ntfs_debug >= (X)) printf Y; } while(0) @@ -305,3 +306,4 @@ extern int ntfs_debug; #endif extern struct vops ntfs_vops; +#endif |