summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-08-21 21:21:48 -0400
committerJeff Layton <jlayton@redhat.com>2008-08-21 21:21:48 -0400
commite1523fdce4f6147d6f27f77430b96c57de3c39ed (patch)
tree277cfdc7fb375e461b27ad14b9cc3f2fe69b5471
parent2c96b1fd5b932b7753a300ae426d25d459e65a6d (diff)
downloadsamba-e1523fdce4f6147d6f27f77430b96c57de3c39ed.tar.gz
samba-e1523fdce4f6147d6f27f77430b96c57de3c39ed.tar.bz2
samba-e1523fdce4f6147d6f27f77430b96c57de3c39ed.zip
cifs.upcall: fix build warning
Signed-off-by: Jeff Layton <jlayton@redhat.com> (This used to be commit aa3443492c58a7c109fe159e15d763dbafc66f2a)
-rw-r--r--source3/client/cifs.upcall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/cifs.upcall.c b/source3/client/cifs.upcall.c
index fd3ed17d2d..cf5f1c3fb0 100644
--- a/source3/client/cifs.upcall.c
+++ b/source3/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);