aboutsummaryrefslogtreecommitdiff
path: root/src/librc-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc-misc.c')
-rw-r--r--src/librc-misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc-misc.c b/src/librc-misc.c
index a8c9f33d..4df05ecf 100644
--- a/src/librc-misc.c
+++ b/src/librc-misc.c
@@ -35,7 +35,7 @@
bool rc_yesno (const char *value)
{
if (! value) {
- errno = EINVAL;
+ errno = ENOENT;
return (false);
}