summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-01-09 07:15:40 +0100
committerThomas Haller <thaller@redhat.com>2018-01-16 14:47:24 +0100
commit288877848067c08abfd82d3ee72765f89ec79968 (patch)
tree48608840286f010136fb4684179446eae72f29bf
parentb6b6baa7735e09a95fa9504e9a9746cdc4e970e6 (diff)
downloadNetworkManager-288877848067c08abfd82d3ee72765f89ec79968.tar.gz
libnm: fix spelling for NM_JAONSSON_C define
-rw-r--r--libnm-core/nm-json.c2
-rw-r--r--libnm-core/nm-json.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libnm-core/nm-json.c b/libnm-core/nm-json.c
index 2fab91ac45..695ca98eac 100644
--- a/libnm-core/nm-json.c
+++ b/libnm-core/nm-json.c
@@ -21,7 +21,7 @@
#include "nm-default.h"
-#define NM_JAONSSON_C
+#define NM_JANSSON_C
#include "nm-json.h"
void *_nm_jansson_json_object_iter_value;
diff --git a/libnm-core/nm-json.h b/libnm-core/nm-json.h
index ed0eef337f..3db37aac3b 100644
--- a/libnm-core/nm-json.h
+++ b/libnm-core/nm-json.h
@@ -18,7 +18,7 @@
gboolean nm_jansson_load (void);
-#ifndef NM_JAONSSON_C
+#ifndef NM_JANSSON_C
#define json_object_iter_value (*_nm_jansson_json_object_iter_value)
#define json_object_key_to_iter (*_nm_jansson_json_object_key_to_iter)
#define json_integer (*_nm_jansson_json_integer)