summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/apply_ops_cmd_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/apply_ops_cmd_common.h')
-rw-r--r--src/mongo/db/commands/apply_ops_cmd_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/apply_ops_cmd_common.h b/src/mongo/db/commands/apply_ops_cmd_common.h
index 443e862b798..f9fb5ec9823 100644
--- a/src/mongo/db/commands/apply_ops_cmd_common.h
+++ b/src/mongo/db/commands/apply_ops_cmd_common.h
@@ -39,7 +39,7 @@ class Status;
/**
* Returns Status::OK if the associated client is authorized to perform the command in cmdObj.
*/
-Status checkAuthForApplyOpsCommand(OperationContext* txn,
+Status checkAuthForApplyOpsCommand(OperationContext* opCtx,
const std::string& dbname,
const BSONObj& cmdObj);