shithub: unionfs

Download patch

ref: a0050ab81f792c2fbfcff6f61fc4f529de2eb1a1
parent: c7dd49d6a158e08c21985469e4c47209e428ee24
author: kvik <kvik@a-b.xyz>
date: Tue May 14 16:30:14 EDT 2019

remove LOG function

--- a/unionfs.c
+++ b/unionfs.c
@@ -54,21 +54,6 @@
 uvlong qidnext;
 Qidmap *qidmap[Nqidmap];
 
-void
-LOG(char *fmt, ...)
-{
-	static int fd = -1;
-	va_list args;
-
-	if(fd < 0 && (fd = open("/mnt/log/log", OWRITE)) < 0){
-		fprint(2, "failed to open log pipe\n");
-		return;
-	}
-	va_start(args, fmt);
-	vfprint(fd, fmt, args);
-	va_end(args);
-}
-
 void*
 emalloc(ulong sz)
 {