Date: Mon, 6 Jan 2003 12:22:08 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 23294 for review Message-ID: <200301062022.h06KM8tp097253@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=23294 Change 23294 by peter@peter_itanic2 on 2003/01/06 12:21:24 fix segfaults on ia64. Affected files ... .. //depot/projects/ia64/sbin/slattach/slattach.c#4 edit Differences ... ==== //depot/projects/ia64/sbin/slattach/slattach.c#4 (text+ko) ==== @@ -59,7 +59,7 @@ #include <signal.h> #include <stdio.h> #include <stdlib.h> -#include <strings.h> +#include <string.h> #include <syslog.h> #include <termios.h> #include <unistd.h> @@ -131,7 +131,7 @@ slflags &= ~IFF_LINK2; break; case 'e': - exit_cmd = (char*) strdup (optarg); + exit_cmd = strdup (optarg); break; case 'f': foreground = 1; @@ -146,13 +146,13 @@ slflags |= IFF_LINK1; break; case 'r': - redial_cmd = (char*) strdup (optarg); + redial_cmd = strdup (optarg); break; case 's': speed = atoi(optarg); break; case 'u': - config_cmd = (char*) strdup (optarg); + config_cmd = strdup (optarg); break; case 'z': redial_on_startup = 1; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301062022.h06KM8tp097253>
