From 45346705d8f24d5b8146d0261e330005341c8ee3 Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Sun, 11 Jun 2023 01:42:03 +0800 Subject: [PATCH] tlog: fix declaration of `tlog_set_permission` --- src/tlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tlog.c b/src/tlog.c index 0c6dbce..ae9cc51 100644 --- a/src/tlog.c +++ b/src/tlog.c @@ -330,7 +330,7 @@ void tlog_logcount(struct tlog_log *log, int count) log->logcount = count; } -void tlog_set_permission(struct tlog_log *log, unsigned int file, unsigned int archive) +void tlog_set_permission(struct tlog_log *log, mode_t file, mode_t archive) { log->file_perm = file; log->archive_perm = archive;