diff --git a/lib/url.c b/lib/url.c
index 11d5c8da1f5eda78ec5f8aa5efde72ea1be1b39a..57d24382237fcf134a051551da2ddfc2f94fa63b 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3717,7 +3717,7 @@ static CURLcode findprotocol(struct SessionHandle *data,
   /* The protocol was not found in the table, but we don't have to assign it
      to anything since it is already assigned to a dummy-struct in the
      create_conn() function when the connectdata struct is allocated. */
-  failf(data, "Protocol %s not supported or disabled in " LIBCURL_NAME,
+  failf(data, "Protocol \"%s\" not supported or disabled in " LIBCURL_NAME,
         protostr);
 
   return CURLE_UNSUPPORTED_PROTOCOL;