summaryrefslogtreecommitdiff
path: root/package/watchdog/patches/patch-src_umount_c
blob: cf421ce79ce56b284b996ffd8fc87665da7da141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- watchdog-5.2.4.orig.orig/src/umount.c	2003-01-28 07:47:38.000000000 +0100
+++ watchdog-5.2.4.orig/src/umount.c	2008-10-16 13:00:07.000000000 +0200
@@ -210,7 +210,7 @@ umount_one (const char *spec, const char
 	    if (res < 0)
 		 umnt_err2 = errno;
 	    /* Do not complain about remote NFS mount points */
-	    if (errno == ENOENT && index(spec, ':'))
+	    if (errno == ENOENT && strchr(spec, ':'))
 		 umnt_err2 = 0;
        }
   }