From 981d6f37976d821fa6e66380ebffca0b4506dea3 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Sat, 3 Dec 2022 18:48:08 +0100 Subject: [PATCH] Cleanup: vagrant typo --- apps/backend/backend_get.c | 10 +++++----- test/vagrant/Makefile.in | 6 ++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/apps/backend/backend_get.c b/apps/backend/backend_get.c index 51f6fd3b..7d92c455 100644 --- a/apps/backend/backend_get.c +++ b/apps/backend/backend_get.c @@ -83,10 +83,10 @@ * @see rfc8040 Sections 9.1 */ static int -client_get_capabilities(clicon_handle h, - yang_stmt *yspec, - char *xpath, - cxobj **xret) +restconf_client_get_capabilities(clicon_handle h, + yang_stmt *yspec, + char *xpath, + cxobj **xret) { int retval = -1; cxobj *xrstate = NULL; /* xml restconf-state node */ @@ -242,7 +242,7 @@ get_client_statedata(clicon_handle h, goto done; if (ret == 0) goto fail; - if ((ret = client_get_capabilities(h, yspec, xpath, xret)) < 0) + if ((ret = restconf_client_get_capabilities(h, yspec, xpath, xret)) < 0) goto done; } if (clicon_option_bool(h, "CLICON_YANG_LIBRARY")){ diff --git a/test/vagrant/Makefile.in b/test/vagrant/Makefile.in index ba795165..edf938be 100644 --- a/test/vagrant/Makefile.in +++ b/test/vagrant/Makefile.in @@ -63,11 +63,9 @@ logs: # appear eg as generic/centos8.log $(VAGRANTS): logs ifdef LOGDIR - with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/vagrant-$(RESTCONF)-$\ -(subst /,-,$@).log" + with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/vagrant-$(RESTCONF)-$(subst /,-,$@).log" else - with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/vagrant-$(RESTCONF)-$(\ -subst /,-,$@).log" + with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/vagrant-$(RESTCONF)-$(subst /,-,$@).log" endif destroy: