Fix up the last argv pointer correctly when terminating early.

This commit is contained in:
mycroft 1995-05-25 03:03:42 +00:00
parent 22aa7c18f0
commit ee7138ecea

View File

@ -676,7 +676,7 @@ kvm_argv(kd, p, addr, narg, maxcnt)
*/
if (ep == 0) {
*np = '\0';
++argv;
*argv++ = ap;
}
break;
}