summaryrefslogtreecommitdiff
path: root/examples/api/glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api/glue.c')
-rw-r--r--examples/api/glue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/api/glue.c b/examples/api/glue.c
index 9c8ed8d11c..4086616a94 100644
--- a/examples/api/glue.c
+++ b/examples/api/glue.c
@@ -4,6 +4,7 @@
*/
#include <common.h>
+#include <env.h>
#include <linux/types.h>
#include <api_public.h>
@@ -365,7 +366,7 @@ const char * ub_env_enum(const char *last)
/*
* It's OK to pass only the name piece as last (and not the whole
- * 'name=val' string), since the API_ENUM_ENV call uses envmatch()
+ * 'name=val' string), since the API_ENUM_ENV call uses env_match()
* internally, which handles such case
*/
if (!syscall(API_ENV_ENUM, NULL, last, &env))