snap: bad use of sizeof()

This commit is contained in:
Boris Faure 2020-06-29 22:00:28 +02:00
parent d77e72647e
commit 4e619660e5
Signed by: 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: +error:
+ snprintf(buf, sizeof(buf), PACKAGE_BIN_DIR "/efreetd"); + snprintf(buf, PATH_MAX, PACKAGE_BIN_DIR "/efreetd");
+} +}
+ +
static void static void