X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fpath%2Fpath.c;h=f7736a42029c4d2677a5dd0bafee571e72523f2a;hb=9ad77dd132a43bcb42ec391d0f7acee8935bde6c;hp=2f0148f074b12167a0ddefe0dcfdae9d797a52a3;hpb=f647962d64e844689f3e2acfce6102fc47e76df2;p=elogind.git diff --git a/src/path/path.c b/src/path/path.c index 2f0148f07..f7736a420 100644 --- a/src/path/path.c +++ b/src/path/path.c @@ -22,9 +22,7 @@ #include #include #include -#include #include -#include #include "sd-path.h" #include "build.h" @@ -117,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) {