ncpcalls: keep bindery access level wrapper on NCP14 name

Rename the bindery access level wrapper from ncp17_46_get_bindery_access_level()
to ncp14_46_get_bindery_access_level().

The previous rename made the operation look like a normal NCP17 bindery wrapper,
but the historic implementation used the ncp_14_46 naming. Keep that protocol
reference visible while retaining the descriptive operation name.

No behavior change.
This commit is contained in:
Mario Fetka
2026-05-29 10:01:48 +02:00
parent 53e28c6bfe
commit adf16cab28
5 changed files with 5 additions and 5 deletions

View File

@@ -926,7 +926,7 @@ int func_passwd(int argc, char *argv[], int mode)
uint8 upasswd[130];
uint32 my_obj_id;
if (ncp17_46_get_bindery_access_level(&my_obj_id) < 0 || my_obj_id == MAX_U32 || !my_obj_id) {
if (ncp14_46_get_bindery_access_level(&my_obj_id) < 0 || my_obj_id == MAX_U32 || !my_obj_id) {
fprintf(stderr, "Cannot get actual user id\n");
result = -1;
}