versioner: fix output.

Bug: http://b/32664285
Test: python run_test.py
Change-Id: Ic487036a17cc6778493e316146e54ead8ce3e65b
This commit is contained in:
Josh Gao 2016-11-04 12:04:38 -07:00
parent 42eb0b2555
commit a00e672361
1 changed files with 2 additions and 3 deletions

View File

@ -173,9 +173,9 @@ struct Declaration {
fprintf(out, "\n%s ", indent_str.c_str());
if (!calculateAvailability(&avail)) {
fprintf(out, "invalid availability");
fprintf(out, "invalid availability\n");
} else {
fprintf(out, "%s", to_string(avail).c_str());
fprintf(out, "%s\n", to_string(avail).c_str());
}
}
}
@ -209,7 +209,6 @@ struct Symbol {
for (auto& it : declarations) {
it.second.dump(base_path, out, 4);
fprintf(out, "\n");
}
}
};