Commit 0677116d authored by Max Kellermann's avatar Max Kellermann

update: pass const pointer to addSubDirectoryToDirectory()

The stat struct isn't going to be modified, make it const.
parent 08c13220
...@@ -205,7 +205,7 @@ inodeFoundInParent(struct directory *parent, ino_t inode, dev_t device) ...@@ -205,7 +205,7 @@ inodeFoundInParent(struct directory *parent, ino_t inode, dev_t device)
static enum update_return static enum update_return
addSubDirectoryToDirectory(struct directory *directory, addSubDirectoryToDirectory(struct directory *directory,
const char *name, struct stat *st) const char *name, const struct stat *st)
{ {
struct directory *subDirectory; struct directory *subDirectory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment