summaryrefslogtreecommitdiff
path: root/src/console/dlt-convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/dlt-convert.c')
-rw-r--r--src/console/dlt-convert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/console/dlt-convert.c b/src/console/dlt-convert.c
index 55143f6..8c5c901 100644
--- a/src/console/dlt-convert.c
+++ b/src/console/dlt-convert.c
@@ -249,7 +249,7 @@ int main(int argc, char* argv[])
/* first parse filter file if filter parameter is used */
if (fvalue)
{
- if (dlt_filter_load(&filter,fvalue,vflag)<0)
+ if (dlt_filter_load(&filter,fvalue,vflag) < DLT_RETURN_OK)
{
dlt_file_free(&file,vflag);
return -1;
@@ -273,9 +273,9 @@ int main(int argc, char* argv[])
for (index = optind; index < argc; index++)
{
/* load, analyse data file and create index list */
- if (dlt_file_open(&file,argv[index],vflag)>=0)
+ if (dlt_file_open(&file,argv[index],vflag) >= DLT_RETURN_OK)
{
- while (dlt_file_read(&file,vflag)>=0)
+ while (dlt_file_read(&file,vflag) >= DLT_RETURN_OK)
{
}
}