commit 914244e784096cdeb410b873056c382be77616d7 from: Stefan Sperling date: Mon Oct 07 12:24:21 2024 UTC fix rtable number shown in error message when switching rdomains fails commit - 00c101b2467c4db671ea0d0c27c59c405909045c commit + 914244e784096cdeb410b873056c382be77616d7 blob - beb254bed60bf5c22b8d262e8454bfbbf041d3e7 blob + 697bf0a3cb0053c76170914731baa6873b0af02c --- cmdargs.c +++ cmdargs.c @@ -174,8 +174,7 @@ nsh_setrtable(int rtableid) ret = errno; switch(errno) { case EINVAL: - printf("%% rtable %d not initialized\n", - cli_rtable); + printf("%% rtable %d not initialized\n", rtable); break; case EPERM: printf("%% Privileged required\n");