diff options
author | Sami Kerola | 2011-12-01 23:10:21 +0100 |
---|---|---|
committer | Karel Zak | 2011-12-02 18:21:46 +0100 |
commit | fbc333fec09394bf4e47707de08a65e8c0e9c288 (patch) | |
tree | cc581fb320208982e33ddc8e04850b80291109a9 /lib/env.c | |
parent | build-sys: add missing headers to dist (diff) | |
download | kernel-qcow2-util-linux-fbc333fec09394bf4e47707de08a65e8c0e9c288.tar.gz kernel-qcow2-util-linux-fbc333fec09394bf4e47707de08a65e8c0e9c288.tar.xz kernel-qcow2-util-linux-fbc333fec09394bf4e47707de08a65e8c0e9c288.zip |
build-sys: check HAVE_ definitions with #ifdef [smatch scan]
Fix to `warning: undefined preprocessor identifier' messages.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'lib/env.c')
-rw-r--r-- | lib/env.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ char *safe_getenv(const char *arg) if (ruid != 0 || (ruid != geteuid()) || (getgid() != getegid())) return NULL; -#if HAVE_PRCTL +#ifdef HAVE_PRCTL if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0) return NULL; #else |