summaryrefslogtreecommitdiff
path: root/net/sendfile
diff options
context:
space:
mode:
authortron <tron>1999-06-12 21:33:19 +0000
committertron <tron>1999-06-12 21:33:19 +0000
commit045986a6d93408856ae38b641dc3ea6f63cf959d (patch)
treead79ed8b4741ff0afdd02a65a4fcb98ba9f7a9f8 /net/sendfile
parent7013169c1b20fb3b8066c3382e5c0418f80ce9da (diff)
downloadpkgsrc-045986a6d93408856ae38b641dc3ea6f63cf959d.tar.gz
Correct reversed patch. Problem noted by Douglas Brebner in PR pkg/7765.
Diffstat (limited to 'net/sendfile')
-rw-r--r--net/sendfile/patches/patch-ab6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sendfile/patches/patch-ab b/net/sendfile/patches/patch-ab
index 67940b504fc..36819d445c8 100644
--- a/net/sendfile/patches/patch-ab
+++ b/net/sendfile/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1.1.1 1999/06/06 17:08:37 hwr Exp $
+$NetBSD: patch-ab,v 1.2 1999/06/12 21:33:19 tron Exp $
--- src/sendfiled.c Sun Jun 6 18:31:25 1999
+++ src/sendfiled.c.orig Thu Oct 29 17:48:08 1998
@@ -6,8 +6,8 @@ $NetBSD: patch-ab,v 1.1.1.1 1999/06/06 17:08:37 hwr Exp $
exit(1);
}
if (wlock_file(lockf)<0) {
-- snprintf(MAXS(tmp),"cannot lock %s : %s",lockfn,strerror(errno));
-+ snprintf(MAXS(tmp),"cannot lock %s : ",lockfn,strerror(errno));
+- snprintf(MAXS(tmp),"cannot lock %s : ",lockfn,strerror(errno));
++ snprintf(MAXS(tmp),"cannot lock %s : %s",lockfn,strerror(errno));
dbgout(tmp);
exit(1);
}