summaryrefslogtreecommitdiff
path: root/src/reply-password
diff options
context:
space:
mode:
Diffstat (limited to 'src/reply-password')
-rw-r--r--src/reply-password/reply-password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reply-password/reply-password.c b/src/reply-password/reply-password.c
index feb1d1ef7c..ce4582afe8 100644
--- a/src/reply-password/reply-password.c
+++ b/src/reply-password/reply-password.c
@@ -34,7 +34,7 @@ static int send_on_socket(int fd, const char *socket_name, const void *packet, s
static int run(int argc, char *argv[]) {
_cleanup_(erase_and_freep) char *packet = NULL;
- _cleanup_close_ int fd = -1;
+ _cleanup_close_ int fd = -EBADF;
size_t length = 0;
int r;