@@ -560,7 +560,7 @@ static void load_globals(sudo_mode)
*/
if ((p = strchr(host, '.'))) {
*p = '\0';
if ((shost = strdup(host)) == NULL) {
if ((shost = (char *) strdup(host)) == NULL) {
(void) fprintf(stderr, "%s: cannot allocate memory!\n", Argv[0]);
exit(1);
}
The note is not visible to the blocked user.