On Sun, Feb 25, 2018 at 06:30:10PM -0800, Carlos Cardenas wrote:
> Attached patch clears up an ambiguous error message when attaching to a
> console fails.
> 
> The vm id is not guaranteed to be populated.
> 
> Comments? Ok?
> 
> +--+
> Carlos

> Index: vmctl.c
> ===================================================================
> RCS file: /home/los/cvs/src/usr.sbin/vmctl/vmctl.c,v
> retrieving revision 1.45
> diff -u -p -r1.45 vmctl.c
> --- vmctl.c   3 Jan 2018 05:39:56 -0000       1.45
> +++ vmctl.c   20 Feb 2018 05:09:09 -0000
> @@ -702,7 +702,7 @@ vm_console(struct vmop_info_result *list
>               }
>       }
>  
> -     errx(1, "console %d not found", info_id);
> +     errx(1, "console not found");
>  }
>  
>  /*


ok mlarkin

Reply via email to