diff --git a/CHANGELOG b/CHANGELOG index 52d07d4..bd18e98 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,7 @@ - various code cleanups (Richard Daniel). - fixed numeric export match. - add option to select replicated server at random (instead of response time). +- fix incorrect cast in directory cleanup routines. 20/2/2007 autofs-5.0.1 ---------------------- diff --git a/daemon/automount.c b/daemon/automount.c index 938ee1b..37e040b 100644 --- a/daemon/automount.c +++ b/daemon/automount.c @@ -276,7 +276,7 @@ static int walk_tree(const char *base, int (*fn) (const char *file, 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;