diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-01-27 12:06:27 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-01-27 12:06:27 +0000 |
commit | 184cc84adab4ead8fde1b79c449ef47f23567165 (patch) | |
tree | d8dd7786c94d4e7899ed1a8bbad1f85e0b588eab | |
parent | de03bb6160df8e4091ac43d282d5011f514899cb (diff) | |
download | samba-184cc84adab4ead8fde1b79c449ef47f23567165.tar.gz samba-184cc84adab4ead8fde1b79c449ef47f23567165.tar.bz2 samba-184cc84adab4ead8fde1b79c449ef47f23567165.zip |
Yes, dev is an 'input/output' paramater...
Andrew Bartlett
(This used to be commit 8cac618174365825e8b1824f70cb42afbce5e500)
-rw-r--r-- | source3/smbd/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index b25e696c8d..ac2e2ee548 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -218,7 +218,7 @@ int find_service(fstring service) do some basic sainity checks on the share. This function modifies dev, ecode. ****************************************************************************/ -static NTSTATUS share_sanity_checks(int snum, char* service, pstring dev) +static NTSTATUS share_sanity_checks(int snum, const char* service, pstring dev) { if (!lp_snum_ok(snum) || @@ -325,7 +325,7 @@ static void set_admin_user(connection_struct *conn) ****************************************************************************/ connection_struct *make_connection(char *service, DATA_BLOB password, - const char *dev, uint16 vuid, NTSTATUS *status) + char *dev, uint16 vuid, NTSTATUS *status) { int snum; struct passwd *pass = NULL; |