Author: aschnell Date: Fri Feb 13 17:24:24 2009 New Revision: 55504 URL: http://svn.opensuse.org/viewcvs/yast?rev=55504&view=rev Log: - cleanup Modified: trunk/storage/libstorage/src/Partition.cc Modified: trunk/storage/libstorage/src/Partition.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Partition.cc?rev=55504&r1=55503&r2=55504&view=diff ============================================================================== --- trunk/storage/libstorage/src/Partition.cc (original) +++ trunk/storage/libstorage/src/Partition.cc Fri Feb 13 17:24:24 2009 @@ -32,8 +32,7 @@ typ = Type; orig_num = num; addUdevData(); - y2debug( "constructed partition %s on disk %s", dev.c_str(), - cont->name().c_str() ); + y2deb("constructed partition " << dev << " on disk " << cont->name()); } Partition::Partition( const Disk& d, const string& Data ) : @@ -60,8 +59,7 @@ else bootflag = false; addUdevData(); - y2debug( "constructed partition %s on disk %s", dev.c_str(), - cont->name().c_str() ); + y2deb("constructed partition " << dev << " on disk " << cont->name()); } const list<string> Partition::udevId() const @@ -293,8 +291,7 @@ int Partition::setFormat( bool val, storage::FsType new_fs ) { int ret = 0; - y2milestone( "device:%s val:%d fs:%s", dev.c_str(), val, - fs_names[new_fs].c_str() ); + y2mil("device:" << dev << " val:" << val << " fs:" << fs_names[new_fs]); if( typ==EXTENDED ) { if( val ) @@ -309,7 +306,7 @@ int Partition::changeMount( const string& val ) { int ret = 0; - y2milestone( "device:%s val:%s", dev.c_str(), val.c_str() ); + y2mil("device:" << dev << " val:" << val); if( typ==EXTENDED ) ret = VOLUME_MOUNT_EXTENDED_UNSUPPORTED; else -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org