diff options
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ file *create_file(const char *root, const char *filename) { file *f = calloc(1, sizeof(file)); sprintf(path, "%s/%s", root, filename); f->name = (char *)filename; - f->buf = read_file(filename, &buf_size); + f->buf = read_file(path, &buf_size); return f; } |