[PATCH] * libparted/arch/linux.c (linux_new): Initialize new membe=
Jim Meyering
meyering at redhat.com
Fri Jun 6 07:09:35 UTC 2008
r.
---
libparted/arch/linux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
index 3b2d8ec..04107d8 100644
--- a/libparted/arch/linux.c
+++ b/libparted/arch/linux.c
@@ -1158,6 +1158,7 @@ linux_new (const char* path)
if (!dev)
goto error;
+ dev->dmtype =3D NULL;
dev->path =3D strdup (path);
if (!dev->path)
goto error_free_dev;
--=20
1.5.6.rc0.30.g7c3f3
More information about the parted-devel
mailing list