update: pass const pointer to addSubDirectoryToDirectory()
The stat struct isn't going to be modified, make it const.
This commit is contained in:
parent
08c1322089
commit
0677116da0
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user