diff options
Diffstat (limited to 'libkms')
-rw-r--r-- | libkms/linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms/linux.c b/libkms/linux.c index fc4f205c..eec01622 100644 --- a/libkms/linux.c +++ b/libkms/linux.c @@ -68,7 +68,7 @@ linux_name_from_sysfs(int fd, char **out) ret = fstat(fd, &buffer); if (ret) - return ret; + return -EINVAL; if (!S_ISCHR(buffer.st_mode)) return -EINVAL; |