projects
/
am-utils-6.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52650b2
)
print_nfs_common_args() is only needed with DEBUG
author
Christos Zoulas
<christos@zoulas.com>
Sat, 17 Jan 2015 17:21:24 +0000
(12:21 -0500)
committer
Christos Zoulas
<christos@zoulas.com>
Sat, 17 Jan 2015 17:21:24 +0000
(12:21 -0500)
libamu/mount_fs.c
patch
|
blob
|
history
diff --git
a/libamu/mount_fs.c
b/libamu/mount_fs.c
index b5576bdc6d14f12eea9de41bf520ea5c97232d3b..b577bab3e78cb4c10d121e91b7b45a08f960f392 100644
(file)
--- a/
libamu/mount_fs.c
+++ b/
libamu/mount_fs.c
@@
-647,6
+647,7
@@
compute_nfs_common_args(struct nfs_common_args *nap, mntent_t *mntp,
#endif /* defined(MNT2_NFS_OPT_XLATECOOKIE) && defined(MNTTAB_OPT_XLATECOOKIE) */
}
+#ifdef DEBUG
static void
print_nfs_common_args(const struct nfs_common_args *a)
{
@@
-664,6
+665,7
@@
print_nfs_common_args(const struct nfs_common_args *a)
plog(XLOG_DEBUG, "NA->acdirmax = %lu", a->acdirmax);
#endif /* HAVE_NFS_ARGS_T_ACREGMIN */
}
+#endif
static void
discard_nfs23_args(nfs_args_t *nap)