chiark / gitweb /
tree-wide: there is no ENOTSUP on linux
[elogind.git] / src / path / path.c
index 99a4f2f3c0058482340545325924a1151fcd21d3..f7736a42029c4d2677a5dd0bafee571e72523f2a 100644 (file)
@@ -115,7 +115,7 @@ static int print_home(const char *n) {
         }
 
         log_error("Path %s not known.", n);
-        return -ENOTSUP;
+        return -EOPNOTSUPP;
 }
 
 static void help(void) {