From 525b88e12808b3f9f573e1e48e6e70774196e69f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 8 Jun 2019 12:34:14 +0200 Subject: [PATCH] fanotify.7: Reformat program output to fit in 80 columns Signed-off-by: Michael Kerrisk --- man7/fanotify.7 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/man7/fanotify.7 b/man7/fanotify.7 index a4c522bd28..3c49623a1f 100644 --- a/man7/fanotify.7 +++ b/man7/fanotify.7 @@ -759,7 +759,8 @@ Listening for events stopped. .EX # ./fanotify_fid /home/user Listening for events. -FAN_CREATE (file created): Directory /home/user has been modified. +FAN_CREATE (file created): + Directory /home/user has been modified. All events processed successfully. Program exiting. $ touch /home/user/testing @@ -768,7 +769,8 @@ $ touch /home/user/testing # ./fanotify_fid /home/user Listening for events. -FAN_CREATE | FAN_ONDIR (subdirectory created): Directory /home/user has been modified. +FAN_CREATE | FAN_ONDIR (subdirectory created): + Directory /home/user has been modified. All events processed successfully. Program exiting. $ mkdir \-p /home/user/testing @@ -1051,10 +1053,10 @@ main(int argc, char **argv) } if (metadata->mask == FAN_CREATE) - printf("FAN_CREATE (file created): "); + printf("FAN_CREATE (file created):"); if (metadata->mask == FAN_CREATE | FAN_ONDIR) - printf("FAN_CREATE | FAN_ONDIR (subdirectory created): "); + printf("FAN_CREATE | FAN_ONDIR (subdirectory created):"); /* metadata->fd is set to FAN_NOFD when FAN_REPORT_FID is enabled. To obtain a file descriptor for the file object corresponding to @@ -1088,7 +1090,7 @@ main(int argc, char **argv) } path[path_len] = \(aq\e\0\(aq; - printf("Directory \(aq%s\(aq has been modified.\e\n", path); + printf("\etDirectory \(aq%s\(aq has been modified.\e\n", path); /* Close associated file descriptor for this event */ -- 2.39.2