aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libshare/libshare.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libshare/libshare.c')
-rw-r--r--lib/libshare/libshare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libshare/libshare.c b/lib/libshare/libshare.c
index ea59dcdbc..89a4fe9aa 100644
--- a/lib/libshare/libshare.c
+++ b/lib/libshare/libshare.c
@@ -215,7 +215,7 @@ update_sharetab(sa_handle_impl_t impl_handle)
fsync(temp_fd);
fclose(temp_fp);
- rename(tempfile, "/etc/dfs/sharetab");
+ (void) rename(tempfile, "/etc/dfs/sharetab");
}
typedef struct update_cookie_s {