1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- Fix build on 11.x

PR:		208815
Submitted by:	amdmi3
Approved by:	hsn@sendmail.cz (maintainer)
This commit is contained in:
Dmitry Marakasov 2016-04-24 22:41:27 +00:00
parent 3bbd14adee
commit c8a7c59522
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413964

View File

@ -0,0 +1,20 @@
--- contrib/fspscan.c.orig 2009-10-01 20:46:36 UTC
+++ contrib/fspscan.c
@@ -72,7 +72,7 @@ static void printhelp(int argc,char **ar
exit(0);
}
-static void fdclose(void)
+static void myfdclose(void)
{
close(myfd);
}
@@ -150,7 +150,7 @@ int main(int argc,char **argv)
else
fprintf(logfile,"%0d...nada\n",remoteport);
fflush(logfile);
- fdclose();
+ myfdclose();
}
return 0;
}