From 4d0cfe491046df26027db291530b247b7f24df5b Mon Sep 17 00:00:00 2001 From: Ben Byer Date: Wed, 5 Sep 2007 18:04:01 -0700 Subject: suppress warning about socket directory ownership on OS X We don't need to warn the user about the fact that the socket directory is not owned by root under OS X; on that platform, it's never owned by root, as the X server runs as the normal user. --- Xtransutil.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Xtransutil.c b/Xtransutil.c index cc57193..4fa9cf8 100644 --- a/Xtransutil.c +++ b/Xtransutil.c @@ -660,8 +660,10 @@ trans_mkdir(char *path, int mode) return -1; } #endif +#ifndef __APPLE_CC__ PRMSG(1, "mkdir: Owner of %s should be set to root\n", path, 0, 0); +#endif } if (updateMode && !updatedMode) { -- cgit v1.2.3