diff options
Diffstat (limited to 'src/client.c')
-rw-r--r-- | src/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c index a0f58e3..9e5600e 100644 --- a/src/client.c +++ b/src/client.c @@ -65,7 +65,7 @@ send_command(enum command cmd, size_t n, const char *restrict msg) dir = getenv("XDG_RUNTIME_DIR"), dir = (dir ? dir : "/run"); if (strlen(dir) + sizeof("/" PACKAGE "/socket") > sizeof(address.sun_path)) t ((errno = ENAMETOOLONG)); - stpcpy(stpcpy(address.sun_path, dir), "/" PACKAGE "/state"); /* Yes, "state", It is temporary. */ + stpcpy(stpcpy(address.sun_path, dir), "/" PACKAGE "/lock"); /* Yes, "lock", It is temporary. */ address.sun_family = AF_UNIX; /* Any daemon listening? */ |