diff options
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -19,7 +19,6 @@ #include <sys/types.h> #include <nftables/libnftables.h> -#include <nftables.h> #include <utils.h> #include <cli.h> @@ -307,7 +306,7 @@ int main(int argc, char * const *argv) if (buf == NULL) { fprintf(stderr, "%s:%u: Memory allocation failure\n", __FILE__, __LINE__); - exit(NFT_EXIT_NOMEM); + exit(EXIT_FAILURE); } for (i = optind; i < argc; i++) { strcat(buf, argv[i]); |