From: DongHun Kwak Date: Tue, 29 Mar 2016 08:48:09 +0000 (+0900) Subject: [AM-1596] "ls -Z" command is segmantation falut. X-Git-Tag: submit/tizen_base/20160407.070025^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c11dc7c39c03e9ec3f36c4296660132fe7213010;p=product%2Fupstream%2Fcoreutils.git [AM-1596] "ls -Z" command is segmantation falut. - fixed smack context pointer. Change-Id: I65c1e0344320c36a186eb49fac1f23925d8b9c8c Signed-off-by: DongHun Kwak --- diff --git a/src/ls.c b/src/ls.c index 8517b41..ca1858e 100644 --- a/src/ls.c +++ b/src/ls.c @@ -3840,7 +3840,7 @@ print_file_name_and_frills (const struct fileinfo *f) ST_NBLOCKSIZE, output_block_size)); if (print_context) - printf ("%*s ", format == with_commas ? 0 : context_width, f->context); + printf ("%*s ", format == with_commas ? 0 : context_width, f->context.attr); print_name_with_quoting (f->name, FILE_OR_LINK_MODE (f), f->linkok, f->stat_ok, f->filetype, NULL);