about summary refs log tree commit diff
path: root/sysdeps/unix/grantpt.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2014-05-13 17:04:27 +0200
committerAndreas Schwab <schwab@suse.de>2014-05-14 09:46:54 +0200
commit73ba67cbc3941c3bcfda31a22a9d0d97ac928f3b (patch)
tree1ff162cf22a3f22dd9fdf948bd58fdb56e94aa46 /sysdeps/unix/grantpt.c
parent5e7698c6f152c93a73ee4140ad23f7171aa79ce0 (diff)
downloadglibc-73ba67cbc3941c3bcfda31a22a9d0d97ac928f3b.tar.gz
glibc-73ba67cbc3941c3bcfda31a22a9d0d97ac928f3b.tar.xz
glibc-73ba67cbc3941c3bcfda31a22a9d0d97ac928f3b.zip
Fix macro warning on HAVE_PT_CHOWN
Diffstat (limited to 'sysdeps/unix/grantpt.c')
-rw-r--r--sysdeps/unix/grantpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/grantpt.c b/sysdeps/unix/grantpt.c
index 410dc50cf9..2cb277cc00 100644
--- a/sysdeps/unix/grantpt.c
+++ b/sysdeps/unix/grantpt.c
@@ -176,7 +176,7 @@ grantpt (int fd)
   /* We have to use the helper program if it is available.  */
  helper:;
 
-#ifdef HAVE_PT_CHOWN
+#if HAVE_PT_CHOWN
   pid_t pid = __fork ();
   if (pid == -1)
     goto cleanup;