summaryrefslogtreecommitdiff
path: root/src/sysusers/sysusers.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-23 16:28:05 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-23 16:28:05 +0200
commit93240d3aba4611dd966c5b9f7368d20612211486 (patch)
treeb00bfed80c8ac4523424f1bdef1607f3c0513d4a /src/sysusers/sysusers.c
parent81cef14fce9c64afed600614403ecae7cd79781d (diff)
coredump: never write more than the configured processing size limit to disk
Diffstat (limited to 'src/sysusers/sysusers.c')
-rw-r--r--src/sysusers/sysusers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c
index d549969ff2..c192add61f 100644
--- a/src/sysusers/sysusers.c
+++ b/src/sysusers/sysusers.c
@@ -211,7 +211,7 @@ static int make_backup(const char *x) {
if (dst < 0)
return dst;
- r = copy_bytes(src, dst);
+ r = copy_bytes(src, dst, (off_t) -1);
if (r < 0)
goto fail;