aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-29 00:59:19 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-29 00:59:19 +0100
commitd679ea3129781ef564c1f91194104ce7692bb102 (patch)
tree966f69d63bd1c5b1229aa99ee4378e6e0f50e74d /src/satd.c
parentreopen state file, we will use flock on it, so all processes need their own open file descriptor for it (diff)
downloadsat-d679ea3129781ef564c1f91194104ce7692bb102.tar.gz
sat-d679ea3129781ef564c1f91194104ce7692bb102.tar.bz2
sat-d679ea3129781ef564c1f91194104ce7692bb102.tar.xz
fix errors
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/satd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/satd.c b/src/satd.c
index f7b6360..6daf7cf 100644
--- a/src/satd.c
+++ b/src/satd.c
@@ -204,7 +204,6 @@ main(int argc, char *argv[])
{
struct sockaddr_un address;
int sock = -1, state = -1, foreground = 0;
- struct stat attr;
char *path = NULL;
char *dir;
ssize_t len;