Use strcpy instead of sprintf here. This avoids a GCC 4.3 format-string