Date: Mon, 1 Oct 2001 16:24:12 +0200 From: Andrea Campi <andrea@webcom.it> To: current@freebsd.org Subject: sys/compat/linux/linux_util.h needs KSE patch Message-ID: <20011001162412.A96470@webcom.it>
index | next in thread | raw e-mail
Subject says all; I think this patch should be applied. It's for clarity only,
no functional change at all.
Sorry for the broken whitespaces in the patch but I have to send mail from a
remote ssh box etc.. long story, anyway if anybody is willing to commit I can
prepare a better patch.
Bye,
Andrea
--- linux_util.h.bak Mon Oct 1 16:20:31 2001
+++ linux_util.h Mon Oct 1 16:21:25 2001
@@ -79,18 +79,18 @@
int linux_emul_find __P((struct thread *, caddr_t *, const char *, char *,
char **, int));
-#define CHECKALT(p, sgp, path, i) \
+#define CHECKALT(td, sgp, path, i) \
do { \
int _error; \
\
- _error = linux_emul_find(p, sgp, linux_emul_path, path, \
+ _error = linux_emul_find(td, sgp, linux_emul_path, path,\
&path, i); \
if (_error == EFAULT) \
return (_error); \
} while (0)
-#define CHECKALTEXIST(p, sgp, path) CHECKALT(p, sgp, path, 0)
-#define CHECKALTCREAT(p, sgp, path) CHECKALT(p, sgp, path, 1)
+#define CHECKALTEXIST(td, sgp, path) CHECKALT(td, sgp, path, 0)
+#define CHECKALTCREAT(td, sgp, path) CHECKALT(td, sgp, path, 1)
#define DUMMY(s) \
int \
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011001162412.A96470>
