summaryrefslogtreecommitdiff
path: root/source/client/cifs.upcall.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-08-21 21:38:45 -0400
committerKarolin Seeger <kseeger@samba.org>2008-08-22 09:24:22 +0200
commitd1457f28399cd967d82246921658ee6f887e6b2d (patch)
treee846d109bbd19526f18876e5958f8de0147dce4d /source/client/cifs.upcall.c
parent604bb0626f6afe5125676043c4a05a05fc5d2642 (diff)
downloadsamba-d1457f28399cd967d82246921658ee6f887e6b2d.tar.gz
cifs.upcall: fix build warning
Signed-off-by: Jeff Layton <jlayton@redhat.com> (cherry picked from commit 9d9020192bba5ece21e752d5065fa59acb303b7c)
Diffstat (limited to 'source/client/cifs.upcall.c')
-rw-r--r--source/client/cifs.upcall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/client/cifs.upcall.c b/source/client/cifs.upcall.c
index fd3ed17d2dd..cf5f1c3fb03 100644
--- a/source/client/cifs.upcall.c
+++ b/source/client/cifs.upcall.c
@@ -222,7 +222,8 @@ int main(const int argc, char *const argv[])
uid_t uid;
int kernel_upcall_version;
int c, use_cifs_service_prefix = 0;
- char *buf, *oid, *hostname = NULL;
+ char *buf, *hostname = NULL;
+ const char *oid;
openlog(prog, 0, LOG_DAEMON);