diff --git a/cr-show.c b/cr-show.c index 57bdbefaf..aa754128d 100644 --- a/cr-show.c +++ b/cr-show.c @@ -115,6 +115,11 @@ void show_tty_info(int fd, struct cr_options *o) pb_show_plain(fd, PB_TTY_INFO); } +void show_file_locks(int fd, struct cr_options *o) +{ + pb_show_plain(fd, PB_FILE_LOCK); +} + void show_fs(int fd_fs, struct cr_options *o) { pb_show_vertical(fd_fs, PB_FS); diff --git a/include/crtools.h b/include/crtools.h index bdeaf6005..194d93370 100644 --- a/include/crtools.h +++ b/include/crtools.h @@ -164,6 +164,7 @@ void show_fown_cont(void *p); void show_eventfds(int fd, struct cr_options *o); void show_tty(int fd, struct cr_options *o); void show_tty_info(int fd, struct cr_options *o); +void show_file_locks(int fd, struct cr_options *o); void show_rlimit(int fd, struct cr_options *o); int check_img_inventory(void);