]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/tzcode/icuzdump.cpp
ICU-551.51.4.tar.gz
[apple/icu.git] / icuSources / tools / tzcode / icuzdump.cpp
index b63e877e940eb6bedf5beec7532ce84be6cc7d5a..3153b040c45a9b616b0a920de2aeb5d0121225d5 100644 (file)
@@ -1,7 +1,7 @@
 /*
 *******************************************************************************
 *
-*   Copyright (C) 2007-2014, International Business Machines
+*   Copyright (C) 2007-2016, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 *******************************************************************************
@@ -384,7 +384,7 @@ main(int argc, char *argv[]) {
 
             ofstream* fout = new ofstream(path.str().c_str(), mode);
             if (fout->fail()) {
-                cerr << "Cannot open file " << path << endl;
+                cerr << "Cannot open file " << path.str() << endl;
                 delete fout;
                 delete tz;
                 break;