about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorMartin Galvan <omgalvan.86@gmail.com>2017-01-02 11:35:14 -0300
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2017-01-03 12:56:23 +0530
commit26e21ad35db514c646e1491a414d45a47cb4a733 (patch)
tree2efed7098a1d542d08affdf7e1b75dcab0cc543d /nptl
parentdf19fdcfec7143073b50f9f01af712528bed6d26 (diff)
downloadglibc-26e21ad35db514c646e1491a414d45a47cb4a733.tar.gz
glibc-26e21ad35db514c646e1491a414d45a47cb4a733.tar.xz
glibc-26e21ad35db514c646e1491a414d45a47cb4a733.zip
Fix up tabs/spaces mismatches
Mixing them up breaks the gdb pretty printer tests.

ChangeLog:

2017-01-02  Martin Galvan  <martingalvan@sourceware.org>

	* nptl/nptl-printers.py: Fix tabs/spaces mismatches.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/nptl-printers.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/nptl/nptl-printers.py b/nptl/nptl-printers.py
index 17463c41e0..77018e7ea7 100644
--- a/nptl/nptl-printers.py
+++ b/nptl/nptl-printers.py
@@ -348,10 +348,10 @@ class ConditionVariablePrinter(object):
     def read_attributes(self):
         """Read the condvar's attributes."""
 
-	if (self.wrefs & PTHREAD_COND_CLOCK_MONOTONIC_MASK) != 0:
-		self.values.append(('Clock ID', 'CLOCK_MONOTONIC'))
-	else:
-		self.values.append(('Clock ID', 'CLOCK_REALTIME'))
+        if (self.wrefs & PTHREAD_COND_CLOCK_MONOTONIC_MASK) != 0:
+            self.values.append(('Clock ID', 'CLOCK_MONOTONIC'))
+        else:
+            self.values.append(('Clock ID', 'CLOCK_REALTIME'))
 
         if (self.wrefs & PTHREAD_COND_SHARED_MASK) != 0:
             self.values.append(('Shared', 'Yes'))
@@ -409,10 +409,10 @@ class ConditionVariableAttributesPrinter(object):
 
         clock_id = (self.condattr >> 1) & ((1 << COND_CLOCK_BITS) - 1)
 
-	if clock_id != 0:
-		self.values.append(('Clock ID', 'CLOCK_MONOTONIC'))
-	else:
-		self.values.append(('Clock ID', 'CLOCK_REALTIME'))
+        if clock_id != 0:
+            self.values.append(('Clock ID', 'CLOCK_MONOTONIC'))
+        else:
+            self.values.append(('Clock ID', 'CLOCK_REALTIME'))
 
         if self.condattr & 1:
             self.values.append(('Shared', 'Yes'))