made the log file names sort better
diff --git a/aos/linux_code/logging/binary_log_writer.cc b/aos/linux_code/logging/binary_log_writer.cc
index e7b1e9f..57eb33a 100644
--- a/aos/linux_code/logging/binary_log_writer.cc
+++ b/aos/linux_code/logging/binary_log_writer.cc
@@ -89,7 +89,7 @@
LOG(INFO, "Could not find aos_log-current\n");
printf("Could not find aos_log-current\n");
}
- if (asprintf(filename, "%s/aos_log-%d", directory, fileindex) == -1) {
+ if (asprintf(filename, "%s/aos_log-%03d", directory, fileindex) == -1) {
aos::Die("couldn't create final name because of %d (%s)\n",
errno, strerror(errno));
}