]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
testceph: Clarify use of endl so it's non-ambiguous when the includes change.
authorGreg Farnum <gregf@hq.newdream.net>
Fri, 14 Aug 2009 22:20:48 +0000 (15:20 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Mon, 17 Aug 2009 19:21:14 +0000 (12:21 -0700)
src/client/testceph.cc

index 9de0bbf53cd820788f85a1c72443f11191b9ff08..2322a7f806148a811c5a465bbd5ba9234dd57d4b 100644 (file)
@@ -20,13 +20,13 @@ using namespace std;
 int main(int argc, const char **argv)
 {
   if (ceph_initialize(argc, argv) < 0) {
-    cerr << "error initializing\n" << endl;
+    cerr << "error initializing\n" << std::endl;
     return(1);
   }
   cout << "Successfully initialized Ceph!" << std::endl;
 
   if(ceph_mount() < 0) {
-    cerr << "error mounting\n" << endl;
+    cerr << "error mounting\n" << std::endl;
     return(1);
   }
   cout << "Successfully mounted Ceph!" << std::endl;