diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 411fad6..95f901a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -38,7 +38,7 @@ extern "C" { char cmd[1024]; fprintf(stderr, "kooldock: crashHandler called\n"); - snprintf(cmd, 1025, "%s &", argv0.ascii()); + snprintf(cmd, 1023, "%s &", argv0.ascii()); system(cmd); // try to restart according to argv[0] } } |