[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] Type in the GNU/Hurd port
From: |
Neal H Walfield |
Subject: |
[patch] Type in the GNU/Hurd port |
Date: |
Tue, 20 Nov 2001 00:11:11 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 |
2001-11-19 Neal H Walfield <address@hidden>
* libparted/gnu.c (gnu_partition_get_path): Fix type.
diff -upr parted-1.5.5-pre2.orig/libparted/gnu.c
parted-1.5.5-pre2/libparted/gnu.c
--- parted-1.5.5-pre2.orig/libparted/gnu.c Sat Nov 10 16:45:05 2001
+++ parted-1.5.5-pre2/libparted/gnu.c Mon Nov 19 18:00:02 2001
@@ -853,7 +853,7 @@ static char*
gnu_partition_get_path (const PedPartition* part)
{
const char* dev_path = part->disk->dev->path;
- int result_len = strlen (dev->path) + 16;
+ int result_len = strlen (dev_path) + 16;
char* result;
result = (char*) ped_malloc (result_len);
Only in parted-1.5.5-pre2/libparted: gnu.c~
- [patch] Type in the GNU/Hurd port,
Neal H Walfield <=