summaryrefslogtreecommitdiff
path: root/net/sendfile/patches/patch-ab
blob: 1202171bcf594b40aa84d20df69dc7bb7699222f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.3 2000/09/09 19:51:38 wiz Exp $

--- src/sendfiled.c.orig	Thu Oct 29 17:48:08 1998
+++ src/sendfiled.c
@@ -2945,7 +2945,7 @@
       exit(1);
     }
     if (wlock_file(lockf)<0) {
-      snprintf(MAXS(tmp),"cannot lock %s : ",lockfn,strerror(errno));
+      snprintf(MAXS(tmp),"cannot lock %s : %s",lockfn,strerror(errno));
       dbgout(tmp);
       exit(1);
     }