help me fix this error
friends.c : 251 : 9 : error : format not a string literal and no format arguments[-Werror = format - security] 251 | num_bytes_written +=
    snprintf(user_buf + num_bytes_written, num_char - num_bytes_written, print_post(curr));  // Append the post contents