aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/sysutils.c')
-rw-r--r--common/sysutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sysutils.c b/common/sysutils.c
index ab3e1d6d5..3a08df774 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -988,7 +988,7 @@ gnupg_inotify_watch_socket (int *r_fd, const char *socket_name)
*r_fd = -1;
if (!socket_name)
- return gpg_error (GPG_ERR_EINVAL);
+ return my_error (GPG_ERR_INV_VALUE);
fname = xtrystrdup (socket_name);
if (!fname)