Skip to content

Commit

Permalink
Log max buffer size on module load
Browse files Browse the repository at this point in the history
  • Loading branch information
ahippo committed Jul 10, 2018
1 parent e9bb120 commit 2aed159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ static int __init emlog_init(void)
ret_val = -3; goto emlog_init_error;
}

pr_info("version %s running, major is %u, MINOR is %u.\n", EMLOG_VERSION, (unsigned)MAJOR(emlog_dev_type), (unsigned)MINOR(emlog_dev_type));
pr_info("version %s running, major is %u, MINOR is %u, max size %d K.\n", EMLOG_VERSION, (unsigned)MAJOR(emlog_dev_type), (unsigned)MINOR(emlog_dev_type), emlog_max_size);

emlog_class = class_create(THIS_MODULE, DEVICE_NAME);
if (emlog_class == NULL) {
Expand Down

0 comments on commit 2aed159

Please sign in to comment.