diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ImageMetaData.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ImageMetaData.cxx b/src/ImageMetaData.cxx index a1a4a98..49ee4e8 100644 --- a/src/ImageMetaData.cxx +++ b/src/ImageMetaData.cxx @@ -108,7 +108,7 @@ ImageMetaData::load_image_exif(char *name) { image = Exiv2::ImageFactory::open(name); image->readMetadata(); } catch (Exiv2::Error error) { - fprintf(stderr, "Error reading metadata (%s)\n", error.what()); + fprintf(stderr, "Error reading metadata\n"); return 1; } @@ -166,7 +166,7 @@ ImageMetaData::load_image_jpgcom(char *name) { image = Exiv2::ImageFactory::open(name); image->readMetadata(); } catch (Exiv2::Error error) { - fprintf(stderr, "Error reading metadata (%s)\n", error.what()); + fprintf(stderr, "Error reading metadata\n"); return 1; } @@ -258,7 +258,7 @@ ImageMetaData::save_image_jpgcom(char *in_img, char *out_img) { try { image->writeMetadata(); } catch (Exiv2::Error error) { - fprintf(stderr, "Error writing metadata (%s)\n", error.what()); + fprintf(stderr, "Error writing metadata\n"); err++; } |