diff options
author | Boris Faure <billiob@gmail.com> | 2020-06-29 22:00:28 +0200 |
---|---|---|
committer | Boris Faure <billiob@gmail.com> | 2020-06-29 22:00:28 +0200 |
commit | 4e619660e5ce4984918a92536dbf39d756d6014c (patch) | |
tree | 1caa7ea921191e3c325e93839475b3d7de587f2a | |
parent | d77e72647ed5d5959b8cb91a8886412546e54103 (diff) |
snap: bad use of sizeof()
-rw-r--r-- | snap/local/efl-efreetd-search.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snap/local/efl-efreetd-search.patch b/snap/local/efl-efreetd-search.patch index 1ca0c2e..8b39f3e 100644 --- a/snap/local/efl-efreetd-search.patch +++ b/snap/local/efl-efreetd-search.patch | |||
@@ -50,7 +50,7 @@ index f859c630f0..f7d196ef6b 100644 | |||
50 | + } | 50 | + } |
51 | + | 51 | + |
52 | +error: | 52 | +error: |
53 | + snprintf(buf, sizeof(buf), PACKAGE_BIN_DIR "/efreetd"); | 53 | + snprintf(buf, PATH_MAX, PACKAGE_BIN_DIR "/efreetd"); |
54 | +} | 54 | +} |
55 | + | 55 | + |
56 | static void | 56 | static void |