diff options
author | th199096 <none@none> | 2007-09-04 18:46:23 -0700 |
---|---|---|
committer | th199096 <none@none> | 2007-09-04 18:46:23 -0700 |
commit | a3175730a459223fb8f26a2915aa0a31f6b36f98 (patch) | |
tree | 25105e002a501b8a405470e4daaf30be71286b29 /usr/src/lib/libshare | |
parent | b7e32555fc1a5af52617bd619aa97d5e6868f7ef (diff) | |
download | illumos-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.c | 4 |
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); |