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
This commit is contained in:
parent
6f8f50af89
commit
f6b7b70512
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193189
@ -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
|
||||
|
||||
|
@ -275,7 +275,7 @@ tftp_open(path, f)
|
||||
return(ENOMEM);
|
||||
}
|
||||
|
||||
res = tftp_makereq(tftpfile, path);
|
||||
res = tftp_makereq(tftpfile);
|
||||
|
||||
if (res) {
|
||||
free(tftpfile->path);
|
||||
|
Loading…
Reference in New Issue
Block a user