openbsd-ports/net/openafs/patches/patch-src_bozo_bosserver_c
todd a54c908a97 unbreak openafs by not compiling the lkm; this is temporary
use one param.i386_obsd.h file to support any release instead of
 adding/removing files each OSrev of OpenBSD
regen patches while here
bump PKGNAME
2007-09-24 19:36:49 +00:00

14 lines
380 B
Plaintext

$OpenBSD: patch-src_bozo_bosserver_c,v 1.2 2007/09/24 19:36:49 todd Exp $
--- src/bozo/bosserver.c.orig Mon Jul 11 14:08:36 2005
+++ src/bozo/bosserver.c Mon Sep 24 14:03:54 2007
@@ -1056,6 +1056,8 @@ bozo_Log(char *a, char *b, char *c, char *d, char *e,
}
/* close so rm BosLog works */
- fclose(bozo_logFile);
+ if (bozo_logFile) {
+ fclose(bozo_logFile);
+ }
}
}