PR gas/18679
	* config/xtensa-relax.c (same_operand_name): Fix typo.
+2015-08-11  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/18679
+       * config/xtensa-relax.c (same_operand_name): Fix typo.
+
 2015-08-08  Hans-Peter Nilsson  <hp@axis.com>
 
        * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
 
 static bfd_boolean
 same_operand_name (const opname_map_e *m1, const opname_map_e *m2)
 {
-  if (m1->operand_name == NULL || m1->operand_name == NULL)
+  if (m1->operand_name == NULL || m2->operand_name == NULL)
     return FALSE;
   return (m1->operand_name == m2->operand_name);
 }