Browse Source

tlog: fix declaration of `tlog_set_permission`

Chongyun Lee 2 years ago
parent
commit
45346705d8
1 changed files with 1 additions and 1 deletions
  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;
     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->file_perm = file;
     log->archive_perm = archive;
     log->archive_perm = archive;