util: use standard name for strncat()
[mesa.git] / src / util / u_debug.c
index ab3c8eb316db7a318542c6acc25889f0816e81e0..465d669b69e7aeaee2f78f4cd84d4df99ba9a9f8 100644 (file)
@@ -371,10 +371,10 @@ debug_dump_flags(const struct debug_named_value *names, unsigned long value)
    while (names->name) {
       if ((names->value & value) == names->value) {
         if (!first)
-           util_strncat(output, "|", sizeof(output) - strlen(output) - 1);
+           strncat(output, "|", sizeof(output) - strlen(output) - 1);
         else
            first = 0;
-        util_strncat(output, names->name, sizeof(output) - strlen(output) - 1);
+        strncat(output, names->name, sizeof(output) - strlen(output) - 1);
         output[sizeof(output) - 1] = '\0';
         value &= ~names->value;
       }
@@ -383,12 +383,12 @@ debug_dump_flags(const struct debug_named_value *names, unsigned long value)
 
    if (value) {
       if (!first)
-        util_strncat(output, "|", sizeof(output) - strlen(output) - 1);
+        strncat(output, "|", sizeof(output) - strlen(output) - 1);
       else
         first = 0;
 
       util_snprintf(rest, sizeof(rest), "0x%08lx", value);
-      util_strncat(output, rest, sizeof(output) - strlen(output) - 1);
+      strncat(output, rest, sizeof(output) - strlen(output) - 1);
       output[sizeof(output) - 1] = '\0';
    }