patch-src_umount_c 427 B

1234567891011
  1. --- watchdog-5.7.orig/src/umount.c 2010-01-06 13:42:08.000000000 +0100
  2. +++ watchdog-5.7/src/umount.c 2010-02-06 04:39:47.664334843 +0100
  3. @@ -212,7 +212,7 @@ umount_one (const char *spec, const char
  4. if (res < 0)
  5. umnt_err2 = errno;
  6. /* Do not complain about remote NFS mount points */
  7. - if (errno == ENOENT && index(spec, ':'))
  8. + if (errno == ENOENT && strchr(spec, ':'))
  9. umnt_err2 = 0;
  10. }
  11. }