cifs.upcall: fix build warning
authorJeff Layton <jlayton@redhat.com>
Fri, 22 Aug 2008 01:21:48 +0000 (21:21 -0400)
committerJeff Layton <jlayton@redhat.com>
Fri, 22 Aug 2008 01:21:48 +0000 (21:21 -0400)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
source/client/cifs.upcall.c

index fd3ed17d2dd2c1b28dda23c7fa622ee2c050dd79..cf5f1c3fb0363e999cfcc04e839b0e2035bafa31 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);