Skip to content

Commit 72629b7

Browse files
jmikolaajdavis
authored andcommitted
CDRIVER-2256 fix _mongoc_validate_update errmsg
1 parent 334fed1 commit 72629b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ _mongoc_validate_update (const bson_t *update, bson_error_t *error)
344344
bson_set_error (error,
345345
MONGOC_ERROR_COMMAND,
346346
MONGOC_ERROR_COMMAND_INVALID_ARG,
347-
"invalid selector for update: %s",
347+
"invalid argument for update: %s",
348348
validate_err.message);
349349
return false;
350350
}

0 commit comments

Comments
 (0)