~ubuntu-branches/ubuntu/trusty/parted/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/hurd-partition-path.patch

  • Committer: Colin Watson
  • Date: 2012-05-02 11:47:44 UTC
  • mfrom: (7.2.18 sid)
  • Revision ID: cjwatson@canonical.com-20120502114744-93esursf6fm4m627
merge from Debian 2.3-9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/libparted/arch/gnu.c
 
2
+++ b/libparted/arch/gnu.c
 
3
@@ -845,7 +845,7 @@
 
4
        result = (char*) ped_malloc (result_len);
 
5
        if (!result)
 
6
                return NULL;
 
7
-       snprintf (result, result_len, "%s%d", dev_path, part->num);
 
8
+       snprintf (result, result_len, "%ss%d", dev_path, part->num);
 
9
        return result;
 
10
 }
 
11