tlog: fix declaration of tlog_set_permission

This commit is contained in:
Chongyun Lee
2023-06-11 01:42:03 +08:00
committed by Nick Peng
parent 9b7b2ad12d
commit 45346705d8

View File

@@ -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;