From: 2xsec Date: Tue, 3 Jul 2018 09:12:31 +0000 (+0900) Subject: tests: cleanup config_jump_table.c X-Git-Tag: lxc-3.1.0~221^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f120a741966670021a25517c5d8de480a52b5649;p=thirdparty%2Flxc.git tests: cleanup config_jump_table.c Signed-off-by: 2xsec --- diff --git a/src/tests/config_jump_table.c b/src/tests/config_jump_table.c index 8e86c48e4..3f08fb942 100644 --- a/src/tests/config_jump_table.c +++ b/src/tests/config_jump_table.c @@ -54,6 +54,7 @@ int main(int argc, char *argv[]) for (key = strtok_r(keys, "\n", &saveptr); key != NULL; key = strtok_r(NULL, "\n", &saveptr)) { struct lxc_config_t *config; + config = lxc_get_config(key); if (!config) { lxc_error("configuration key \"%s\" not implemented in " @@ -90,5 +91,4 @@ on_error: free(keys); exit(ret); - }