summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-31 17:13:37 +1000
committerNathan Scott <nathans@redhat.com>2020-08-31 17:13:37 +1000
commit47a7d0bd74277371d20446d2fd5cc7410008e484 (patch)
tree70a9444120d37380968223981a001154ddfb5b2b /htop.c
parentb321177b0871af9a32cc3417532cdb1b40e3fc26 (diff)
parenta48ce9d10383a34598d7b0c40bfdb56f775dfc38 (diff)
Merge branch 'configure' of https://github.com/cgzones/htop into cgzones-configure
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/htop.c b/htop.c
index bdaeb844..d9302a0c 100644
--- a/htop.c
+++ b/htop.c
@@ -198,7 +198,7 @@ int main(int argc, char** argv) {
CommandLineSettings flags = parseArguments(argc, argv); // may exit()
-#ifdef HAVE_PROC
+#ifdef HTOP_LINUX
if (access(PROCDIR, R_OK) != 0) {
fprintf(stderr, "Error: could not read procfs (compiled to look in %s).\n", PROCDIR);
exit(1);

© 2014-2024 Faster IT GmbH | imprint | privacy policy