I really don't write C very often. Now I remember why. What do you MEAN smprintf just segfaults at runtime instead of complaining about mismatched arguments at compile time?