OCaml 4.14.0 rebuild: ocaml-ctypes 0.20.1-1
[arch-packages.git] / aiksaurus / trunk / format-security.patch
blobba90a4519502e4be41f1703f96b0f2a5548b14cd
1 --- aiksaurus-1.2.1/base/caiksaurus.cpp.orig 2014-06-07 21:14:03.869649696 +0100
2 +++ aiksaurus-1.2.1/base/caiksaurus.cpp 2014-06-07 21:33:06.241471066 +0100
3 @@ -254,7 +254,7 @@
4 /* see if we got --version. */
5 if ( !strcmp(arg, "--version") || !strcmp(arg, "-v") )
7 - printf(version);
8 + printf("%s", version);
9 exit(0);
12 @@ -262,7 +262,7 @@
13 else if ( !strcmp(arg, "--help") || !strcmp(arg, "-h") )
15 printf("Usage: %s [word]\n\n", argv[0]);
16 - printf(help);
17 + printf("%s", help);
18 exit(0);
21 @@ -271,7 +271,7 @@
22 if (argc != 2)
24 printf("Usage: %s [word]\n", argv[0]);
25 - printf(help);
26 + printf("%s", help);
27 exit(1);