patch-2.4.2 linux/arch/s390/tools/silo/silo.c

Next file: linux/arch/s390/vmlinux.lds
Previous file: linux/arch/s390/tools/silo/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/arch/s390/tools/silo/silo.c linux/arch/s390/tools/silo/silo.c
@@ -45,7 +45,7 @@
   
 /* from dasd.h */
 #define DASD_PARTN_BITS 2
-#define BIODASDRWTB _IOWR('D',5,int)
+#define BIODASDRWTB _IOWR('D',0,int)
 /* end */
 
 #define SILO_CFG "/etc/silo.conf"
@@ -554,7 +554,7 @@
 main (int argct, char *argv[])
 {
   int rc = 0;
-  char *save;
+  char *save=NULL;
   char *tmpdir=getenv("TMPDIR");
   if (tmpdir) {
     NTRY( save=(char*)malloc(strlen(tmpdir)));

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)