diff options
author | Pascal Viandier <midi-pascal@videotron.ca> | 2015-10-01 18:01:36 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-10-01 19:32:33 +0200 |
commit | 77649eee774e6f71da886d5c72a616a0b46e08fa (patch) | |
tree | 324dcd5623d54c64365aedaa8607ae691cfbddd5 /src/main.cpp | |
parent | 01fd55b43a0d9420591544e6bea4fa171fe177b3 (diff) | |
download | kooldock-77649eee774e6f71da886d5c72a616a0b46e08fa.tar.gz kooldock-77649eee774e6f71da886d5c72a616a0b46e08fa.zip |
Fix FTBFS with newer GCC
Signed-off-by: Pascal Viandier <midi-pascal@videotron.ca>
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] } } |