HomePhabricator

examples: Use printf instead of fprintf(stdout, ...)

Authored by bryceharrington on Feb 19 2017, 9:33 PM.

Description

examples: Use printf instead of fprintf(stdout, ...)

Summary:
Also fix warning about lack of a format string:

warning: format not a string literal and no format arguments [-Wformat-security]
     fprintf(stdout, commands);

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4673