Author: aschnell Date: Tue Oct 28 15:58:12 2008 New Revision: 52631 URL: http://svn.opensuse.org/viewcvs/yast?rev=52631&view=rev Log: - fixed define for PB Modified: trunk/storage/libstorage/src/Disk.cc Modified: trunk/storage/libstorage/src/Disk.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Disk.cc?rev=52631&r1=52630&r2=52631&view=diff ============================================================================== --- trunk/storage/libstorage/src/Disk.cc (original) +++ trunk/storage/libstorage/src/Disk.cc Tue Oct 28 15:58:12 2008 @@ -1005,9 +1005,10 @@ return( ret ); } + +// note: factors are in the context of kilo #define TB (1024ULL * 1024ULL * 1024ULL) -#define EB (1024ULL * 1024ULL * 1024ULL * 1024ULL) -#define PB (1024ULL * 1024ULL * 1024ULL * 1024ULL * 1024ULL) +#define PB (1024ULL * 1024ULL * 1024ULL * 1024ULL) string Disk::defaultLabel(const Storage& storage, unsigned long long size_k) @@ -1042,9 +1043,9 @@ }; #undef TB -#undef EB #undef PB + string Disk::p_disks [] = { "cciss/", "ida/", "ataraid/", "etherd/", "rd/" }; bool Disk::needP( const string& disk ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org