fix tlog_set_permission parameters type

This commit is contained in:
FH0
2021-09-14 20:48:23 +08:00
committed by Nick Peng
parent f50e4dd081
commit 8973acad44

View File

@@ -306,7 +306,7 @@ void tlog_set_maxline_size(struct tlog_log *log, int size)
log->max_line_size = size;
}
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;