r334 - mdadm/trunk/debian/patches

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Mon May 21 12:42:01 UTC 2007


Author: madduck
Date: 2007-05-21 12:42:01 +0000 (Mon, 21 May 2007)
New Revision: 334

Added:
   mdadm/trunk/debian/patches/99-init-avail-FIX.dpatch
Log:
fix compile warning

Added: mdadm/trunk/debian/patches/99-init-avail-FIX.dpatch
===================================================================
--- mdadm/trunk/debian/patches/99-init-avail-FIX.dpatch	                        (rev 0)
+++ mdadm/trunk/debian/patches/99-init-avail-FIX.dpatch	2007-05-21 12:42:01 UTC (rev 334)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 99-init-avail-FIX.dpatch by martin f. krafft <madduck at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad mdadm-2.6.2~/Detail.c mdadm-2.6.2/Detail.c
+--- mdadm-2.6.2~/Detail.c	2007-05-21 06:25:50.000000000 +0200
++++ mdadm-2.6.2/Detail.c	2007-05-21 14:41:40.000000000 +0200
+@@ -59,7 +59,7 @@
+ 	void *super = NULL;
+ 	int rv = test ? 4 : 1;
+ 	int avail_disks = 0;
+-	char *avail;
++	char *avail = NULL;
+ 
+ 	if (fd < 0) {
+ 		fprintf(stderr, Name ": cannot open %s: %s\n",


Property changes on: mdadm/trunk/debian/patches/99-init-avail-FIX.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-mdadm-commits mailing list