mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
device_parser: Suppress error message on .cdba open failure
The error message indicating that cdba-server failed to open the config file was supposed to be moved to cdba-server.c, but I forgot to remove the error from the device_parser. Fix this. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
@@ -154,10 +154,8 @@ int device_parser(const char *path)
|
||||
FILE *fh;
|
||||
|
||||
fh = fopen(path, "r");
|
||||
if (!fh) {
|
||||
fprintf(stderr, "device parser: unable to open %s\n", path);
|
||||
if (!fh)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(!yaml_parser_initialize(&dp.parser)) {
|
||||
fprintf(stderr, "device parser: failed to initialize parser\n");
|
||||
|
||||
Reference in New Issue
Block a user