print_nfs_common_args() is only needed with DEBUG
authorChristos Zoulas <christos@zoulas.com>
Sat, 17 Jan 2015 17:21:24 +0000 (12:21 -0500)
committerChristos Zoulas <christos@zoulas.com>
Sat, 17 Jan 2015 17:21:24 +0000 (12:21 -0500)
libamu/mount_fs.c

index b5576bdc6d14f12eea9de41bf520ea5c97232d3b..b577bab3e78cb4c10d121e91b7b45a08f960f392 100644 (file)
@@ -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)