diff --git a/src/csync_update.c b/src/csync_update.c index b4f04320f..5750fb87e 100644 --- a/src/csync_update.c +++ b/src/csync_update.c @@ -123,7 +123,7 @@ static int csync_detect_update(CSYNC *ctx, const char *file, const csync_vio_fil } out: - CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "file: %s, instruction: %s", cur->path, csync_instruction_str(cur->instruction)); + CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "file: %s, instruction: %s", st->path, csync_instruction_str(st->instruction)); SAFE_FREE(tmp); st->inode = fs->inode; st->mode = fs->mode;