diff --git a/_examples/cpkg/cpkg.go b/_examples/cpkg/cpkg.go index 4c973f9..65b2c6b 100644 --- a/_examples/cpkg/cpkg.go +++ b/_examples/cpkg/cpkg.go @@ -8,7 +8,7 @@ package cpkg //#include //#include //void cpkg_printf(const char *str) { -// fprintf(stdout, str); +// fprintf(stdout, "%s", str); // fflush(stdout); //} import "C"