about summary refs log tree commit diff homepage
path: root/tools/gen-bout
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gen-bout')
-rw-r--r--tools/gen-bout/gen-bout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-bout/gen-bout.cpp b/tools/gen-bout/gen-bout.cpp
index f6f11f2a..17a65993 100644
--- a/tools/gen-bout/gen-bout.cpp
+++ b/tools/gen-bout/gen-bout.cpp
@@ -126,7 +126,7 @@ int main(int argc, char *argv[]) {
       static int total_args = 0;
 
       char arg[1024];
-      snprintf(arg, sizeof(arg), "arg%d", total_args++);
+      snprintf(arg, sizeof(arg), "arg%02d", total_args++);
       push_obj(&b, (const char *)arg, nbytes, (unsigned char *)argv[i]);
 
       char *buf1 = (char *)malloc(1024);