summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-08-21 21:41:19 -0400
committerKarolin Seeger <kseeger@samba.org>2008-08-28 16:06:52 +0200
commitee30c1981eb46163d829d32ea1ac12572038085c (patch)
tree3dc44481b4fe5f9c5976dd2292c7afe9f76a96e2 /source/client
parentd0a926fe3779c840de1b47dfd6e2b4d394eb0c45 (diff)
downloadsamba-ee30c1981eb46163d829d32ea1ac12572038085c.tar.gz
samba-ee30c1981eb46163d829d32ea1ac12572038085c.tar.xz
samba-ee30c1981eb46163d829d32ea1ac12572038085c.zip
cifs.upcall: fix build warning
Signed-off-by: Jeff Layton <jlayton@redhat.com> (cherry picked from commit dffb2d8eea03bb75224c3d8b4d0ab210993c645a)
Diffstat (limited to 'source/client')
-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);