cifs.upcall: fix build warning
[ira/wip.git] / source3 / 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);