diff options
author | Colin Watson <cjwatson@ubuntu.com> | 2020-11-26 21:59:39 +0100 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2021-09-22 16:13:29 -0700 |
commit | dde6702f20b7c34b091b25580ab19009c9d91b30 (patch) | |
tree | acdf591549bcc67626ef810296abd37c87f5b92b | |
parent | 36d16c57d4ff6cf9903bfe65671c7f90879e004f (diff) | |
download | parted-dde6702f20b7c34b091b25580ab19009c9d91b30.tar.gz |
hurd: Fix partition paths
We have always had an 's' to separate drive number from partition
number.
Signed-off-by: Brian C. Lane <bcl@redhat.com>
-rw-r--r-- | libparted/arch/gnu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libparted/arch/gnu.c b/libparted/arch/gnu.c index d7204cc..507a5ff 100644 --- a/libparted/arch/gnu.c +++ b/libparted/arch/gnu.c @@ -805,7 +805,7 @@ gnu_partition_get_path (const PedPartition* part) 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; } |