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:
parent
3bbd14adee
commit
c8a7c59522
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413964
20
net/fspd/files/patch-contrib_fspscan.c
Normal file
20
net/fspd/files/patch-contrib_fspscan.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user