10133 smatch fixes for usr/src/cmd/fs.d
*** 22,31 **** --- 22,35 ---- * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* + * Copyright (c) 2018, Joyent, Inc. + */ + + /* * smbfs umount */ #include <stdio.h> #include <stdlib.h>
*** 177,184 **** fsfreemnttab(res); res = fsdupmnttab(&mnt); } } ! fclose(fp); return (res); } --- 181,188 ---- fsfreemnttab(res); res = fsdupmnttab(&mnt); } } ! (void) fclose(fp); return (res); }