snap: bad use of sizeof()

(cherry picked from commit 4e619660e5)
This commit is contained in:
Boris Faure 2020-06-29 22:00:28 +02:00
parent cf48dbd17a
commit 01f7f1c701
Signed by untrusted user who does not match committer: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ index f859c630f0..f7d196ef6b 100644
+ }
+
+error:
+ snprintf(buf, sizeof(buf), PACKAGE_BIN_DIR "/efreetd");
+ snprintf(buf, PATH_MAX, PACKAGE_BIN_DIR "/efreetd");
+}
+
static void