Fix up the last argv pointer correctly when terminating early.
This commit is contained in:
parent
22aa7c18f0
commit
ee7138ecea
@ -676,7 +676,7 @@ kvm_argv(kd, p, addr, narg, maxcnt)
|
||||
*/
|
||||
if (ep == 0) {
|
||||
*np = '\0';
|
||||
++argv;
|
||||
*argv++ = ap;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user