diff options
Diffstat (limited to 'pseudo.c')
-rw-r--r-- | pseudo.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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, |