aboutsummaryrefslogtreecommitdiffstats
path: root/src/cg-base.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-01 01:35:31 +0100
committerMattias Andrée <maandree@kth.se>2016-12-01 01:35:31 +0100
commite8f5ed91daff1950afb45e60a2b7668e9f59009e (patch)
tree3bcec8776f99d8b8465f70e29224cc5cf3eef0d1 /src/cg-base.c
parentWork on cg-icc (diff)
downloadcg-tools-e8f5ed91daff1950afb45e60a2b7668e9f59009e.tar.gz
cg-tools-e8f5ed91daff1950afb45e60a2b7668e9f59009e.tar.bz2
cg-tools-e8f5ed91daff1950afb45e60a2b7668e9f59009e.tar.xz
cg-icc: m + parse icc table
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/cg-base.c')
-rw-r--r--src/cg-base.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cg-base.c b/src/cg-base.c
index d6d2fcb..24bc09f 100644
--- a/src/cg-base.c
+++ b/src/cg-base.c
@@ -841,7 +841,8 @@ LIST_DEPTHS
fail:
rc = 1;
- perror(argv0);
+ if (errno)
+ perror(argv0);
goto done;
cg_fail: