diff options
author | Ben Byer <bbyer@bbyer.apple.com> | 2007-09-05 18:04:01 -0700 |
---|---|---|
committer | Ben Byer <bbyer@bbyer.apple.com> | 2007-09-05 18:04:01 -0700 |
commit | 4d0cfe491046df26027db291530b247b7f24df5b (patch) | |
tree | 5a69d424fc9d04eece7e0577789e42c9c84c00ee /Xtransutil.c | |
parent | de93d67f6d48c7c08f2554cb85515bcf7dfbffb2 (diff) |
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.
Diffstat (limited to 'Xtransutil.c')
-rw-r--r-- | Xtransutil.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |