aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/openac/openac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openac/openac.c b/src/openac/openac.c
index 61c3b05da..d0d20b108 100755
--- a/src/openac/openac.c
+++ b/src/openac/openac.c
@@ -542,9 +542,9 @@ int main(int argc, char **argv)
/* write the attribute certificate to file */
attr_chunk = attr_cert->get_encoding(attr_cert);
- if (chunk_write(attr_chunk, outfile, "attribute cert", 0022, TRUE))
+ if (chunk_write(attr_chunk, outfile, 0022, TRUE))
{
- DBG1(" wrote attribute cert file '%s' (%u bytes)", outfile, chunk.len);
+ DBG1(" wrote attribute cert file '%s' (%u bytes)", outfile, attr_chunk.len);
write_serial(serial);
status = 0;
}