----- Original Message ----- > From: "Weng Meiling" <wengmeiling.w...@huawei.com> > To: libcg-devel@lists.sourceforge.net > Cc: "libo chen" <libo.c...@huawei.com> > Sent: Friday, June 21, 2013 3:49:14 AM > Subject: [Libcg-devel] [PATCH] cgsnapshot: fix the print message when use > cgsnapshot with -f > > > From: Weng Meiling <wengmeiling.w...@huawei.com> > Thanks for the patch, acked and merged. > > Signed-off-by: Weng Meiling <wengmeiling.w...@huawei.com> Acked-by: Ivana Hutarova Varekova <varek...@redhat.com> > --- > src/tools/cgsnapshot.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/tools/cgsnapshot.c b/src/tools/cgsnapshot.c > index 324f93b..8217798 100644 > --- a/src/tools/cgsnapshot.c > +++ b/src/tools/cgsnapshot.c > @@ -610,9 +610,9 @@ static int show_mountpoints(const char *controller) > > while (ret == 0) { > if (quote) > - printf("\t\"%s\" = %s;\n", controller, path); > + fprintf(of, "\t\"%s\" = %s;\n", controller, path); > else > - printf("\t%s = %s;\n", controller, path); > + fprintf(of, "\t%s = %s;\n", controller, path); > ret = cgroup_get_subsys_mount_point_next(&handle, path); > } > cgroup_get_subsys_mount_point_end(&handle); > -- > 1.8.2.2 > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Libcg-devel mailing list > Libcg-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libcg-devel >
------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel