diff --git a/pd/src/s_inter.c b/pd/src/s_inter.c index 33e6dc0767343615c4380bb237f049804ee5d7ff..896833d4abc9d6fc06edd3a975fb1f53c51f8718 100644 --- a/pd/src/s_inter.c +++ b/pd/src/s_inter.c @@ -1416,7 +1416,7 @@ fprintf(stderr, "guidir is %s\n", guidir); //strcat(scriptbuf, "/" PDBINDIR "pd.tk\""); //sys_bashfilename(scriptbuf, scriptbuf); - sprintf("scriptbuf", "\""); /* use quotes in case there are spaces */ + sprintf(scriptbuf, "\""); /* use quotes in case there are spaces */ strcat(scriptbuf, sys_libdir->s_name); strcat(scriptbuf, "/" PDBINDIR); sys_bashfilename(scriptbuf, scriptbuf);