[systemd-devel] [PATCH] shared: fix build on !x86

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sat Jul 20 18:39:39 PDT 2013


On Sat, Jul 20, 2013 at 10:15:13AM -0700, Shawn Landden wrote:
> ---
>  src/shared/virt.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/shared/virt.c b/src/shared/virt.c
> index 1abd686..4f8134a 100644
> --- a/src/shared/virt.c
> +++ b/src/shared/virt.c
> @@ -29,6 +29,8 @@
>  
>  /* Returns a short identifier for the various VM implementations */
>  int detect_vm(const char **id) {
> +        _cleanup_free_ char *cpuinfo_contents = NULL;
> +        int r;
Applied.

Zbyszek


More information about the systemd-devel mailing list