parted/parted-1.8.8-s390-compile.patch

20 lines
772 B
Diff
Raw Normal View History

2008-11-06 13:31:20 +00:00
--- parted-1.8.8/libparted/labels/fdasd.c.orig 2008-08-28 09:07:06.000000000 -0400
+++ parted-1.8.8/libparted/labels/fdasd.c 2008-08-28 09:08:28.000000000 -0400
@@ -149,7 +149,7 @@ fdasd_error (fdasd_anchor_t *anc, enum f
case device_verification_failed:
sprintf(error, "fdasd: %s -- %s\n",
_("Device verification failed"),
- _("The specified device is not a valid DASD device"));,
+ _("The specified device is not a valid DASD device"));
break;
default:
sprintf(error, "fdasd: %s: %s\n", _("Fatal error"), str);
@@ -780,7 +780,6 @@ fdasd_get_geometry (fdasd_anchor_t *anc,
PDEBUG
int blksize = 0;
dasd_information_t dasd_info;
- char s[LINE_LENGTH];
if (ioctl(f, HDIO_GETGEO, &anc->geo) != 0)
fdasd_error(anc, unable_to_ioctl,