[Parted-maintainers] Bug#586696: libparted0debian1: wrong path for hurd partitions

Samuel Thibault sthibault at debian.org
Sun Feb 20 20:58:26 UTC 2011


> Index: parted-2.2/libparted/arch/gnu.c
> ===================================================================
> --- parted-2.2.orig/libparted/arch/gnu.c	2010-06-21 18:29:55.000000000 +0200
> +++ parted-2.2/libparted/arch/gnu.c	2010-06-21 18:30:05.000000000 +0200
> @@ -845,7 +845,7 @@
>  	result = (char*) ped_malloc (result_len);
>  	if (!result)
>  		return NULL;
> -	snprintf (result, result_len, "%s%d", dev_path, part->num);
> +	snprintf (result, result_len, "%ss%d", dev_path, part->num);
>  	return result;
>  }
>  

Ping?

Samuel





More information about the Parted-maintainers mailing list