diff options
author | Ian Douglas Scott <ian@iandouglasscott.com> | 2019-05-06 16:33:30 -0700 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2019-05-28 13:07:50 +0300 |
commit | d901444ec94a1874e19c8c30b805e2d17b61e6fc (patch) | |
tree | fc4e6fd73be73293eb3501dc2d20dae93793c975 /src/blob.c | |
parent | 84941a5967c099e29c172fe1c8f5741dc2bef159 (diff) | |
download | apk-tools-d901444ec94a1874e19c8c30b805e2d17b61e6fc.tar.gz apk-tools-d901444ec94a1874e19c8c30b805e2d17b61e6fc.tar.bz2 apk-tools-d901444ec94a1874e19c8c30b805e2d17b61e6fc.tar.xz apk-tools-d901444ec94a1874e19c8c30b805e2d17b61e6fc.zip |
Fix compile with glibc
Diffstat (limited to 'src/blob.c')
-rw-r--r-- | src/blob.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -725,7 +725,7 @@ size_t strlcpy(char *dst, const char *src, size_t size) if (!size) return ret; len = ret; if (len >= size) len = size - 1; - memcpy(dest, src, len); + memcpy(dst, src, len); dst[len] = 0; return ret; } |