From: Ion Badulescu Date: Mon, 22 Sep 2003 19:43:13 +0000 (+0000) Subject: * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): compile fix X-Git-Tag: before-retrans-udp-tcp-split~92 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=c4c7eecf3f85bd8b41321f358a77fe38fa0dc6fa;p=am-utils-6.2.git * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): compile fix --- diff --git a/ChangeLog b/ChangeLog index 77633d7d..38aec0f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-09-22 Ion Badulescu + + * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): compile fix + 2003-09-19 Ion Badulescu * amd/amfs_nfsl.c (amfs_nfsl_match): checking opt_fs is not always diff --git a/conf/autofs/autofs_solaris_v1.c b/conf/autofs/autofs_solaris_v1.c index 2c07a2a7..98c66ac6 100644 --- a/conf/autofs/autofs_solaris_v1.c +++ b/conf/autofs/autofs_solaris_v1.c @@ -38,7 +38,7 @@ * SUCH DAMAGE. * * - * $Id: autofs_solaris_v1.c,v 1.20 2003/08/28 03:10:34 ib42 Exp $ + * $Id: autofs_solaris_v1.c,v 1.21 2003/09/22 19:43:14 ib42 Exp $ * */ @@ -531,7 +531,7 @@ autofs_mount_fs(am_node *mp, mntfs *mf) * cause the recursive mount anyway if called from the parent amd. */ if (!foreground) { - if ((err = stat(target2, &buf))) { + if ((err = stat(target2, &buf))) goto out; } if ((err = lstat(target2, &buf)))