Date: Mon, 7 Jul 2003 10:50:03 -0700 (PDT) From: Dmitry Morozovsky <marck@rinet.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/54151 patch correction Message-ID: <200307071750.h67Ho39G030737@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/54151; it has been noted by GNATS. From: Dmitry Morozovsky <marck@rinet.ru> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/54151 patch correction Date: Mon, 7 Jul 2003 21:40:33 +0400 (MSD) From discussion at -net@: DL> The first patch looks ok except for the text of the error message at DL> source line 157. Well, it's a piece of old junk: firstly, I used strdup(), and then realized it isn't necessary for argv. So, these lines possibly should look simply like @@ -151,6 +154,11 @@ case 'f' : SETFUNC(F_FILESET); break; + case 'i': + rifname = optarg; + if (checkifname(rifname) == 0) + errx(1, "no such interface: %s", rifname); + break; case '?': default: usage();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307071750.h67Ho39G030737>