summaryrefslogtreecommitdiff
path: root/usr/src/lib/libshare
diff options
context:
space:
mode:
authorth199096 <none@none>2007-09-04 18:46:23 -0700
committerth199096 <none@none>2007-09-04 18:46:23 -0700
commita3175730a459223fb8f26a2915aa0a31f6b36f98 (patch)
tree25105e002a501b8a405470e4daaf30be71286b29 /usr/src/lib/libshare
parentb7e32555fc1a5af52617bd619aa97d5e6868f7ef (diff)
downloadillumos-joyent-a3175730a459223fb8f26a2915aa0a31f6b36f98.tar.gz
6563073 Fix cstyle in the sharefs code
6575901 libc`sharefs() and ld.so have conspired to kill smdiskless
Diffstat (limited to 'usr/src/lib/libshare')
-rw-r--r--usr/src/lib/libshare/common/libsharecore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/libshare/common/libsharecore.c b/usr/src/lib/libshare/common/libsharecore.c
index ba9d7f4b97..503a424cc6 100644
--- a/usr/src/lib/libshare/common/libsharecore.c
+++ b/usr/src/lib/libshare/common/libsharecore.c
@@ -2006,7 +2006,7 @@ sa_update_sharetab(sa_share_t share, char *proto)
* Fill in share structure and send it to the kernel.
*/
(void) sa_fillshare(share, proto, &sh);
- (void) sharefs(SHAREFS_ADD, &sh);
+ (void) _sharefs(SHAREFS_ADD, &sh);
sa_emptyshare(&sh);
sa_free_attr_string(path);
}
@@ -2036,7 +2036,7 @@ sa_delete_sharetab(char *path, char *proto)
sh.sh_path = path;
sh.sh_fstype = proto;
- ret = sharefs(SHAREFS_REMOVE, &sh);
+ ret = _sharefs(SHAREFS_REMOVE, &sh);
}
return (ret);