summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2018-07-28 09:07:48 +0000
committerratchov <ratchov@openbsd.org>2018-07-28 09:07:48 +0000
commitf259df27144b495dc5452384b263b2890a9cf8aa (patch)
treef7cb54ffe7a08b2bda4290ba0a506c5dfcca4e18
parentsync (diff)
downloadwireguard-openbsd-f259df27144b495dc5452384b263b2890a9cf8aa.tar.xz
wireguard-openbsd-f259df27144b495dc5452384b263b2890a9cf8aa.zip
Rename the sndiod unix domain socket to /tmp/sndio/sockN to avoid
wondering what are these "aucat" files in /tmp. "make sense" deraadt
-rw-r--r--lib/libsndio/amsg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libsndio/amsg.h b/lib/libsndio/amsg.h
index a9f5e125726..760f7ec7ad8 100644
--- a/lib/libsndio/amsg.h
+++ b/lib/libsndio/amsg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amsg.h,v 1.10 2016/01/09 08:27:24 ratchov Exp $ */
+/* $OpenBSD: amsg.h,v 1.11 2018/07/28 09:07:48 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -24,11 +24,11 @@
*
* DIR [ '-' UID ] '/' FILE UNIT
*
- * example: "/tmp/aucat-1000/aucat0"
+ * example: "/tmp/sndio-1000/sock0"
*
*/
-#define SOCKPATH_DIR "/tmp/aucat"
-#define SOCKPATH_FILE "aucat"
+#define SOCKPATH_DIR "/tmp/sndio"
+#define SOCKPATH_FILE "sock"
#define SOCKPATH_MAX (1 + \
sizeof(SOCKPATH_DIR) - 1 + \
sizeof(char) + \