Просмотр исходного кода

tlog: fix declaration of `tlog_set_permission`

Chongyun Lee 2 лет назад
Родитель
Сommit
45346705d8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/tlog.c

+ 1 - 1
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;