Imported Upstream version 2.6.1p1
[debian/amanda] / changer-src / scsi-changer-driver.c
index d53c804457ec7783a13a35c86869a24c23c45cd9..8693bf39709ca48b6da071c1fac04a3c08fdb82a 100644 (file)
@@ -6621,7 +6621,7 @@ printf_arglist_function2(void DebugPrint, int, level, int, section, char *, fmt)
     {
       if (section == dsection || dsection == 0)
        {
-         if (index(buf, '\n') != NULL && strlen(buf) > 1)
+         if (strchr(buf, '\n') != NULL && strlen(buf) > 1)
           {
             dbprintf(_("%ld:%s"), (long)ti, buf);
          } else {