aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2014-12-29 23:14:38 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2014-12-29 23:14:38 -0500
commit6d6d7fde04c8ef830205a9900bf101597a2f4b18 (patch)
tree067e8ded1007ad60c65df46951d330f332c03a14 /sysdeps
parentcd2c37c979fa19e93ded9e0ed545787271ec0de2 (diff)
downloadglibc-6d6d7fde04c8ef830205a9900bf101597a2f4b18.zip
glibc-6d6d7fde04c8ef830205a9900bf101597a2f4b18.tar.gz
glibc-6d6d7fde04c8ef830205a9900bf101597a2f4b18.tar.bz2
Fix a couple of -Wundef warnings.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/tst-setgetname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-setgetname.c b/sysdeps/unix/sysv/linux/tst-setgetname.c
index f5693e2..7799ebe 100644
--- a/sysdeps/unix/sysv/linux/tst-setgetname.c
+++ b/sysdeps/unix/sysv/linux/tst-setgetname.c
@@ -101,7 +101,7 @@ do_test (int argc, char **argv)
{
res = get_self_comm (gettid (), name_check, TASK_COMM_LEN);
-#if !__ASSUME_PROC_PID_TASK_COMM
+#ifndef __ASSUME_PROC_PID_TASK_COMM
/* On this first test we look for ENOENT to be returned from
get_self_comm to indicate that the kernel is older than
2.6.33 and doesn't contain comm within the proc structure.