Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
libcper
/
ce0f82bfea6b5ddce50438704e604191a065ff30
/
.
/
testing
/
cper-test.c
blob: 6f6534d5bcf636a1209efcf3e70a0706c5a364af [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
"../cper-parse.h"
#include
"json.h"
int
main
(
int
argc
,
char
*
argv
[])
{
json_object
*
ir
=
cper_to_ir
(
argv
[
1
]);
printf
(
"\n%s\n"
,
json_object_to_json_string
(
ir
));
}