summaryrefslogtreecommitdiff
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-21 16:34:40 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-21 16:35:59 +0100
commitcdd4860520f428f64dbf8ddb3ae05cf6bc75cf41 (patch)
tree72f3d8ae6a30f1d5948cf35a0851fd578e34a987 /src/bin/eolian
parentc1afa1b6b5b90df8e688841d84a250fe03e9f029 (diff)
eolian: turn db validation into separate API
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/eolian/main.c b/src/bin/eolian/main.c
index bcd13fc482..fed76e94b6 100644
--- a/src/bin/eolian/main.c
+++ b/src/bin/eolian/main.c
@@ -358,6 +358,12 @@ int main(int argc, char **argv)
358 goto end; 358 goto end;
359 } 359 }
360 360
361 if (!eolian_database_validate())
362 {
363 ERR("Error validating database.\n");
364 goto end;
365 }
366
361 eo_filename_copy = strdup(eo_filename); 367 eo_filename_copy = strdup(eo_filename);
362 eo_file_basename = basename(eo_filename_copy); 368 eo_file_basename = basename(eo_filename_copy);
363 if (show) 369 if (show)