From 536076bd287a1b4f9eac42e1633d9bdcdf4c183b Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Tue, 12 Aug 2014 15:45:34 +0400 Subject: [PATCH] show: Print filelocks.img pids as %u Signed-off-by: Pavel Emelyanov --- cr-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr-show.c b/cr-show.c index 5549c8d11..0e1a2c6dc 100644 --- a/cr-show.c +++ b/cr-show.c @@ -318,12 +318,12 @@ static struct show_image_info show_infos[] = { SHOW_PLAINS(MNT), SHOW_PLAINS(TTY_FILE), SHOW_PLAIN(TTY_INFO), - SHOW_PLAINS(FILE_LOCK), SHOW_PLAIN(RLIMIT), SHOW_PLAIN(TUNFILE), SHOW_PLAINS(EXT_FILE), SHOW_PLAIN(IRMAP_CACHE), + { FILE_LOCKS_MAGIC, PB_FILE_LOCK, false, NULL, "3:%u", }, { TCP_STREAM_MAGIC, PB_TCP_STREAM, true, show_tcp_stream, "1:%u 2:%u 3:%u 4:%u 12:%u", }, { STATS_MAGIC, PB_STATS, true, NULL, "1.1:%u 1.2:%u 1.3:%u 1.4:%u 1.5:%Lu 1.6:%Lu 1.7:%Lu 1.8:%u", }, { FDINFO_MAGIC, PB_FDINFO, false, NULL, "flags:%#o fd:%d", },