CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2019/12/17 02:43:00

Modified files:
        usr.sbin/vmctl : main.c vmctl.h 

Log message:
Use local variable isntead of function parameter

The parse_size() wrapper around scan_scaled(3) writes its intermediate
result to the function argument which is always passed as literal zero.

This seems odd, the function parameter has no meaning but merely serves
as storage, so let's use a proper function scoped variable instead.

OK pd

Reply via email to