update: pass const pointer to addSubDirectoryToDirectory()

The stat struct isn't going to be modified, make it const.
This commit is contained in:
Max Kellermann 2008-10-09 19:11:51 +02:00
parent 08c1322089
commit 0677116da0

View File

@ -205,7 +205,7 @@ inodeFoundInParent(struct directory *parent, ino_t inode, dev_t device)
static enum update_return
addSubDirectoryToDirectory(struct directory *directory,
const char *name, struct stat *st)
const char *name, const struct stat *st)
{
struct directory *subDirectory;