summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-08-08 17:05:46 +0200
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:27 +0900
commit30f991ba673d77a8cc844c7b91a353fff8ebfe22 (patch)
treedf0f479059eaced8f1ff64ac2a985f4fbf47176d
parentc9bc6d888acae31dabca0a234d97189d97d43958 (diff)
downloadltrace-30f991ba673d77a8cc844c7b91a353fff8ebfe22.tar.gz
ltrace-30f991ba673d77a8cc844c7b91a353fff8ebfe22.tar.bz2
ltrace-30f991ba673d77a8cc844c7b91a353fff8ebfe22.zip
Fix an error path problem introduced in last commit
-rw-r--r--read_config_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read_config_file.c b/read_config_file.c
index 05ff283..e9c050d 100644
--- a/read_config_file.c
+++ b/read_config_file.c
@@ -1140,7 +1140,7 @@ process_line(struct protolib *plib, struct locus *loc, char *buf)
report_error(loc->filename,
loc->line_no,
"%s", strerror(errno));
- return -1;
+ goto err;
}
have_stop = 1;
}