summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-08-21 21:41:19 -0400
committerKarolin Seeger <kseeger@samba.org>2008-08-22 23:31:43 +0200
commitb3a8b823361d6144f14c2d800e956f26ff9ad6d6 (patch)
tree80226efc681b8e1be82c146e0d95f04c36a52804
parent6d42b1e372b67eba83dbd5200bfb131b74cac180 (diff)
downloadsamba-b3a8b823361d6144f14c2d800e956f26ff9ad6d6.tar.gz
cifs.upcall: fix build warning
Signed-off-by: Jeff Layton <jlayton@redhat.com> (cherry picked from commit dffb2d8eea03bb75224c3d8b4d0ab210993c645a)
-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);