Below is my code and when I compile this, warning comes up ..
Please let me know how to fix it
sprintf(gsErrLog.aPrgmNm, "%-15.15s", pzArgv[0]);
^
char gsErrLog.aPrgmNm [15];
warning: 'sprintf' writing a termination nul past the end of the destination [-Wformat-overflow=]