Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37741481
en ru br
ALT Linux repositórios
S:7.2-alt1
5.0: 5.38-alt1
4.1: 5.38-alt1
4.0: 5.38-alt1
3.0: 5.32-alt1

Group :: Monitoramento
RPM: smartmontools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: smartmontools-5.38-alt-cciss-warnings.patch
Download


--- smartmontools-5.38/cciss.cpp.alt-warnings	2008-03-15 20:10:45 +0300
+++ smartmontools-5.38/cciss.cpp	2008-03-15 20:15:37 +0300
@@ -177,7 +177,6 @@ static int cciss_getlun(int device, int 
     unsigned char CDB[16]= {0};
     ReportLunData_struct *luns;
     int reportlunsize = sizeof(*luns) + CISS_MAX_PHYS_LUN * 8;
-    int i;
     int ret;
 
     luns = (ReportLunData_struct *)malloc(reportlunsize);
@@ -209,7 +208,7 @@ static int cciss_getlun(int device, int 
 	  pout("%02x ",*stuff++);
 	pout("%02x\n",*stuff++);
       }
-      pout("===== [%s] DATA END (%d Bytes) =====\n\n", "LUN DATA", sizeof(_ReportLUNdata_struct));
+      pout("===== [%s] DATA END (%lu Bytes) =====\n\n", "LUN DATA", (unsigned long)sizeof(_ReportLUNdata_struct));
     }
 
     if (target >= 0 && target < (int) be32toh(luns->LUNListLength) / 8)
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009