[pve-devel] applied: [PATCH common] cpuset: fix short_string

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Nov 23 11:39:22 CET 2016


On Thu, Nov 17, 2016 at 11:24:19AM +0100, Wolfgang Bumiller wrote:
> don't drop the next current cpu after finishing a range
> ---
>  src/PVE/CpuSet.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/CpuSet.pm b/src/PVE/CpuSet.pm
> index 753b3cd..7293d9b 100644
> --- a/src/PVE/CpuSet.pm
> +++ b/src/PVE/CpuSet.pm
> @@ -165,7 +165,7 @@ sub short_string {
>  	} else {
>  	    $res .= ',' if length($res);
>  	    $res .= "$last-$next";
> -	    $last = $next = undef;
> +	    $last = $next = $cpu;
>  	}
>      }
>  
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




More information about the pve-devel mailing list