From owner-svn-src-head@FreeBSD.ORG Sun May 31 21:29:08 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BEF91065677; Sun, 31 May 2009 21:29:08 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4AAB68FC1D; Sun, 31 May 2009 21:29:08 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4VLT8jR055499; Sun, 31 May 2009 21:29:08 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4VLT8vg055497; Sun, 31 May 2009 21:29:08 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <200905312129.n4VLT8vg055497@svn.freebsd.org> From: Ed Schouten Date: Sun, 31 May 2009 21:29:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193189 - head/lib/libstand X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 21:29:08 -0000 Author: ed Date: Sun May 31 21:29:07 2009 New Revision: 193189 URL: http://svn.freebsd.org/changeset/base/193189 Log: Fix minor issues in libstand. - Don't call tftp_makereq() with too many arguments. - Don't forget to close one of the comments. Submitted by: Pawel Worach Modified: head/lib/libstand/bootp.c head/lib/libstand/tftp.c Modified: head/lib/libstand/bootp.c ============================================================================== --- head/lib/libstand/bootp.c Sun May 31 20:59:20 2009 (r193188) +++ head/lib/libstand/bootp.c Sun May 31 21:29:07 2009 (r193189) @@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$"); #define DHCP_ENV_NOVENDOR 1 /* do not parse vendor options */ #define DHCP_ENV_PXE 10 /* assume pxe vendor options */ -#define DHCP_ENV_FREEBSD 11 /* assume freebsd vendor options +#define DHCP_ENV_FREEBSD 11 /* assume freebsd vendor options */ /* set DHCP_ENV to one of the values above to export dhcp options to kenv */ #define DHCP_ENV DHCP_ENV_NO_VENDOR Modified: head/lib/libstand/tftp.c ============================================================================== --- head/lib/libstand/tftp.c Sun May 31 20:59:20 2009 (r193188) +++ head/lib/libstand/tftp.c Sun May 31 21:29:07 2009 (r193189) @@ -275,7 +275,7 @@ tftp_open(path, f) return(ENOMEM); } - res = tftp_makereq(tftpfile, path); + res = tftp_makereq(tftpfile); if (res) { free(tftpfile->path);