Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 130701790bf2d95e902edf16031ff596 > files > 133

autofs-5.0.1-0.rc2.164.el5_8.src.rpm

--- autofs-5.0.1/daemon/automount.c.bad-cast	2007-03-12 16:29:23.000000000 +0000
+++ autofs-5.0.1/daemon/automount.c	2007-03-12 16:29:53.000000000 +0000
@@ -274,7 +274,7 @@
 
 static int rm_unwanted_fn(const char *file, const struct stat *st, int when, void *arg)
 {
-	dev_t dev = *(int *) arg;
+	dev_t dev = *(dev_t *) arg;
 	char buf[MAX_ERR_BUF];
 	struct stat newst;