aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2018-08-28 16:45:55 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2018-08-28 16:45:55 +0200
commit34f148031a41bd9d2db3a3bd286d8741a7ed1fe9 (patch)
tree2a16419e5a8accc430e8f10c82ff3cdb811cc552 /src/include
parentAdd private-bin to 0ad (diff)
downloadfirejail-34f148031a41bd9d2db3a3bd286d8741a7ed1fe9.tar.gz
firejail-34f148031a41bd9d2db3a3bd286d8741a7ed1fe9.tar.zst
firejail-34f148031a41bd9d2db3a3bd286d8741a7ed1fe9.zip
fix and harden overlay options
Diffstat (limited to 'src/include')
-rw-r--r--src/include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/common.h b/src/include/common.h
index 413cf98a5..a80ad4688 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -32,7 +32,7 @@
32#include <ctype.h> 32#include <ctype.h>
33#include <assert.h> 33#include <assert.h>
34 34
35#define errExit(msg) do { char msgout[500]; sprintf(msgout, "Error %s: %s:%d %s", msg, __FILE__, __LINE__, __FUNCTION__); perror(msgout); exit(1);} while (0) 35#define errExit(msg) do { char msgout[500]; snprintf(msgout, 500, "Error %s: %s:%d %s", msg, __FILE__, __LINE__, __FUNCTION__); perror(msgout); exit(1);} while (0)
36 36
37// macro to print ip addresses in a printf statement 37// macro to print ip addresses in a printf statement
38#define PRINT_IP(A) \ 38#define PRINT_IP(A) \