summaryrefslogtreecommitdiffstats
path: root/lib/libstand/tftp.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-05-31 21:29:07 +0000
committered <ed@FreeBSD.org>2009-05-31 21:29:07 +0000
commit8aad8f9ffa180a9fcd170d7072132a19b6e495a5 (patch)
treec05a1c317b8a58f77e7046b56bcccdb03d93e1ca /lib/libstand/tftp.c
parent08ebb1e23497ee768b075d41df4cd00c641b1907 (diff)
downloadFreeBSD-src-8aad8f9ffa180a9fcd170d7072132a19b6e495a5.zip
FreeBSD-src-8aad8f9ffa180a9fcd170d7072132a19b6e495a5.tar.gz
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
Diffstat (limited to 'lib/libstand/tftp.c')
-rw-r--r--lib/libstand/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/tftp.c b/lib/libstand/tftp.c
index fd1b4ee..23594bb 100644
--- a/lib/libstand/tftp.c
+++ b/lib/libstand/tftp.c
@@ -275,7 +275,7 @@ tftp_open(path, f)
return(ENOMEM);
}
- res = tftp_makereq(tftpfile, path);
+ res = tftp_makereq(tftpfile);
if (res) {
free(tftpfile->path);
OpenPOWER on IntegriCloud