X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fchbind.c;h=02cc8b469418af1a582c15e7727b96d23fa5d4f1;hb=b6e9464ef52dfa0b7ae6c94ba1db94ece13df8b2;hp=4fb628e48cf93efe8d8da0fddf2e93b0e54f27d3;hpb=9c78378bebc1a9f3d400f422df8ede9efea57dea;p=util-vserver.git diff --git a/src/chbind.c b/src/chbind.c index 4fb628e..02cc8b4 100644 --- a/src/chbind.c +++ b/src/chbind.c @@ -316,7 +316,7 @@ int main (int argc, char *argv[]) case CMD_SILENT : is_silent = true; break; case CMD_BCAST : readBcast(optarg, &bcast); break; #if defined(VC_ENABLE_API_NET) - case CMD_NID : nid = Evc_xidopt2xid(optarg,true); break; + case CMD_NID : nid = Evc_nidopt2nid(optarg,true); break; #else case CMD_NID : WRITE_MSG(2, "WARNING: --nid is not supported by this version\n"); break; #endif @@ -331,7 +331,7 @@ int main (int argc, char *argv[]) default : WRITE_MSG(2, "Try '"); WRITE_STR(2, argv[0]); - WRITE_MSG(2, " --help\" for more information.\n"); + WRITE_MSG(2, " --help' for more information.\n"); exit(wrapper_exit_code); break; } @@ -359,7 +359,7 @@ int main (int argc, char *argv[]) } #else { - WRITE_MSG(2, "chbind: kernel does not provide network virtualization\n"); + WRITE_MSG(2, "chbind: kernel does not provide network isolation\n"); exit(wrapper_exit_code); } #endif