Use the correct format specifier for the return value of strlen().