diff options
Diffstat (limited to 'usr.sbin/autofs/common.c')
-rw-r--r-- | usr.sbin/autofs/common.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/autofs/common.c b/usr.sbin/autofs/common.c index 4581e5c4f2f9..2dd7c290cebc 100644 --- a/usr.sbin/autofs/common.c +++ b/usr.sbin/autofs/common.c @@ -1,5 +1,5 @@ /*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2014 The FreeBSD Foundation * @@ -29,9 +29,6 @@ * */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/types.h> #include <sys/time.h> #include <sys/ioctl.h> @@ -152,10 +149,11 @@ create_directory(const char *path) error = mkdir(partial, 0755); if (error != 0 && errno != EEXIST) { log_warn("cannot create %s", partial); - return; + break; } } + free(partial); free(tofree); } |