Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54459 - /trunk/storage/libstorage/src/Storage.cc
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Thu, 08 Jan 2009 09:55:31 -0000
  • Message-id: <E1LKrbv-0000tv-AD@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Thu Jan 8 10:55:31 2009
New Revision: 54459

URL: http://svn.opensuse.org/viewcvs/yast?rev=54459&view=rev
Log:
- log to log not cerr

Modified:
trunk/storage/libstorage/src/Storage.cc

Modified: trunk/storage/libstorage/src/Storage.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc?rev=54459&r1=54458&r2=54459&view=diff
==============================================================================
--- trunk/storage/libstorage/src/Storage.cc (original)
+++ trunk/storage/libstorage/src/Storage.cc Thu Jan 8 10:55:31 2009
@@ -18,7 +18,6 @@
#include <set>
#include <fstream>
#include <sstream>
-#include <iostream>
#include <boost/algorithm/string.hpp>

#include "y2storage/Storage.h"
@@ -125,8 +124,8 @@
strncpy( tbuf, "/tmp/liby2storageXXXXXX", sizeof(tbuf)-1 );
if( mkdtemp( tbuf )==NULL )
{
- cerr << "tmpdir creation " << tbuf << " failed. Aborting..." << endl;
- exit(1);
+ y2err("tmpdir creation " << tbuf << " failed. Aborting...");
+ exit(EXIT_FAILURE);
}
else
{

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages