aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo.c
diff options
context:
space:
mode:
Diffstat (limited to 'pseudo.c')
-rw-r--r--pseudo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pseudo.c b/pseudo.c
index 90de051..4dfd017 100644
--- a/pseudo.c
+++ b/pseudo.c
@@ -706,7 +706,11 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag, char **respon
msg->path);
pdb_did_unlink_file(path_by_ino, &by_ino, by_ino.deleting);
} else {
- pseudo_diag("path mismatch [%d link%s]: ino %llu db '%s' req '%s'.\n",
+ int flags = 0;
+ if (msg->nlink > 1) {
+ flags = PDBGF_FILE | PDBGF_VERBOSE;
+ }
+ pseudo_debug(flags, "path mismatch [%d link%s]: ino %llu db '%s' req '%s'.\n",
msg->nlink,
msg->nlink == 1 ? "" : "s",
(unsigned long long) msg_header.ino,