diff options
| author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-30 14:14:28 -0300 |
|---|---|---|
| committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-30 14:14:28 -0300 |
| commit | 5130612773003d6f7e7d658f7162a4da84fadf69 (patch) | |
| tree | 11d7182d03d2d9c9a776092b5a12f09bfa4bd573 | |
| parent | 4b76d921e6a1c576ed063d465725f0e8770ecbdd (diff) | |
git: Replace `filename` with `path` in `create_file()`
| -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; } |
