cifs.upcall: fix build warning
authorJeff Layton <jlayton@redhat.com>
Fri, 22 Aug 2008 01:41:19 +0000 (21:41 -0400)
committerKarolin Seeger <kseeger@samba.org>
Thu, 28 Aug 2008 14:06:52 +0000 (16:06 +0200)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit dffb2d8eea03bb75224c3d8b4d0ab210993c645a)

source/client/cifs.upcall.c

index fd3ed17..cf5f1c3 100644 (file)
@@ -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);