summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2023-02-28 21:22:52 +0100
committerChristian Göttsche <cgzones@googlemail.com>2023-02-28 21:53:49 +0100
commitfe0da5d368d1c681be684a8fddffaa2cc6587fb4 (patch)
tree8c04b1c4ff9161336981debdc023f8ef60075cdb /utils.h
parent88004f880a7acfe9d8b3016b173b39b24d70bc92 (diff)
downloadbubblewrap-fe0da5d368d1c681be684a8fddffaa2cc6587fb4.tar.gz
Use mode_t as parameter type in mkdir_with_parents
The parameter mode only usage is it being passed to ensure_dir(), which takes it as mode_t. Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.h b/utils.h
index 37d8c7c..9191ecc 100644
--- a/utils.h
+++ b/utils.h
@@ -115,7 +115,7 @@ int ensure_dir (const char *path,
mode_t mode);
int get_file_mode (const char *pathname);
int mkdir_with_parents (const char *pathname,
- int mode,
+ mode_t mode,
bool create_last);
void create_pid_socketpair (int sockets[2]);
void send_pid_on_socket (int socket);