Skip to content

Commit

Permalink
vlog: Fix OVS_REQUIRES macro.
Browse files Browse the repository at this point in the history
Pass lock objects, not their addresses, to the annotation macros.

Signed-off-by: William Tu <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
williamtu committed Mar 24, 2020
1 parent a82083e commit 1b6db6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ vlog_get_level(const struct vlog_module *module,
}

static void
update_min_level(struct vlog_module *module) OVS_REQUIRES(&log_file_mutex)
update_min_level(struct vlog_module *module) OVS_REQUIRES(log_file_mutex)
{
enum vlog_destination destination;

Expand Down

0 comments on commit 1b6db6a

Please sign in to comment.