diff options
author | Timotej Kapus <tk1713@ic.ac.uk> | 2019-12-06 15:14:57 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-02-24 14:37:40 +0000 |
commit | 50d6e9107f9be104d2e1ca43e65c580d6430f555 (patch) | |
tree | 9a67b7f0e1e389c45496074a67b39be6e3c5b31b | |
parent | 536c5f6682780b012f77628c085257d8b8ee7890 (diff) | |
download | klee-50d6e9107f9be104d2e1ca43e65c580d6430f555.tar.gz |
Add leading zeros to genbout
-rw-r--r-- | tools/gen-bout/gen-bout.cpp | 2 |
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); |