From: Eugene S. <ev...@gm...> - 2016-10-24 03:00:38
|
* tests/fanotify.c (main): Use sprintrc. --- tests/fanotify_mark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fanotify_mark.c b/tests/fanotify_mark.c index 9cac5ef..a994c15 100644 --- a/tests/fanotify_mark.c +++ b/tests/fanotify_mark.c @@ -11,7 +11,7 @@ main(void) int rc = fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, -100, "."); printf("fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY|FAN_ONDIR" - ", AT_FDCWD, \".\") = %d %s (%m)\n", rc, errno2name()); + ", AT_FDCWD, \".\") = %s\n", sprintrc(rc)); puts("+++ exited with 0 +++"); return 0; -- 1.7.10.4 |