* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
char *home;
home = getenv("HOME");
- sprintf(buf, "%s/%s/icons", home, DtPERSONAL_CONFIG_DIRECTORY);
+ snprintf(buf, sizeof(buf), "%s/%s/icons", home, DtPERSONAL_CONFIG_DIRECTORY);
if (0 == stat(buf, &sbuf) &&
S_IFDIR & sbuf.st_mode &&