diff options
Diffstat (limited to 'tests/lib/test_privs.c')
-rw-r--r-- | tests/lib/test_privs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/test_privs.c b/tests/lib/test_privs.c index fc3d90866..de638bc67 100644 --- a/tests/lib/test_privs.c +++ b/tests/lib/test_privs.c @@ -113,7 +113,7 @@ int main(int argc, char **argv) ((test_privs.current_state() == ZPRIVS_RAISED) ? "Raised" : "Lowered") printf("%s\n", PRIV_STATE()); - frr_elevate_privs(&test_privs) { + frr_with_privs(&test_privs) { printf("%s\n", PRIV_STATE()); } @@ -125,7 +125,7 @@ int main(int argc, char **argv) /* but these should continue to work... */ printf("%s\n", PRIV_STATE()); - frr_elevate_privs(&test_privs) { + frr_with_privs(&test_privs) { printf("%s\n", PRIV_STATE()); } |