mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
12d0201572
thinking. PR: 26341 Submitted by: Mark Pulford <mark@kyne.com.au>
12 lines
259 B
C++
12 lines
259 B
C++
--- src/nighthawk.cc.orig Wed Apr 4 14:23:09 2001
|
|
+++ src/nighthawk.cc Wed Apr 4 14:23:19 2001
|
|
@@ -116,7 +116,7 @@
|
|
FILE *fp;
|
|
|
|
if((fp = fopen(filename,mode)) != NULL)
|
|
- flock(fp->_fileno,LOCK_EX);
|
|
+ flock(fileno(fp),LOCK_EX);
|
|
return fp;
|
|
}
|
|
|