diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-06-15 20:33:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-06-15 20:33:35 +0200 |
commit | 78ed65ac8dd05041f08ba8b089e1e87445a0905f (patch) | |
tree | e62a030ceb75b3d777c57793bec55cb7a220f7df /src/basic/copy.c | |
parent | dd5da693ab4579c619017b4aac2a234d4b7a3ea7 (diff) | |
parent | 770b5ce4fc31a336a41e81381c229da725ef0cfa (diff) |
Merge pull request #212 from poettering/gc-machine-snapshots
automatically remove old machine shapshots at boot
Diffstat (limited to 'src/basic/copy.c')
-rw-r--r-- | src/basic/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/copy.c b/src/basic/copy.c index 1282cb88be..230e7e4d3f 100644 --- a/src/basic/copy.c +++ b/src/basic/copy.c @@ -396,7 +396,7 @@ int copy_file_atomic(const char *from, const char *to, mode_t mode, bool replace assert(from); assert(to); - r = tempfn_random(to, &t); + r = tempfn_random(to, NULL, &t); if (r < 0) return r; |