diff options
Diffstat (limited to 'src/pinky.c')
-rw-r--r-- | src/pinky.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/pinky.c b/src/pinky.c index 96531f8e4..db230bf0b 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -221,7 +221,7 @@ print_entry (const STRUCT_UTMP *utmp_ent) } #endif - PUTCHAR ('\n'); + putchar ('\n'); } /* Display a verbose line of information about UTMP_ENT. */ @@ -252,7 +252,7 @@ print_long_entry (const char name[]) printf (" %s", pw->pw_gecos); } - PUTCHAR ('\n'); + putchar ('\n'); if (include_home_and_shell) { @@ -260,7 +260,7 @@ print_long_entry (const char name[]) printf ("%-29s", pw->pw_dir); printf (_("Shell: ")); printf (" %s", pw->pw_shell); - PUTCHAR ('\n'); + putchar ('\n'); } if (include_project) @@ -281,9 +281,9 @@ print_long_entry (const char name[]) printf (_("Project: ")); - while ((bytes = FREAD (buf, 1, sizeof (buf), stream)) > 0) - FWRITE (buf, 1, bytes, stdout); - FCLOSE (stream); + while ((bytes = fread (buf, 1, sizeof (buf), stream)) > 0) + fwrite (buf, 1, bytes, stdout); + fclose (stream); } free (project); @@ -307,15 +307,15 @@ print_long_entry (const char name[]) printf (_("Plan:\n")); - while ((bytes = FREAD (buf, 1, sizeof (buf), stream)) > 0) - FWRITE (buf, 1, bytes, stdout); - FCLOSE (stream); + while ((bytes = fread (buf, 1, sizeof (buf), stream)) > 0) + fwrite (buf, 1, bytes, stdout); + fclose (stream); } free (plan); } - PUTCHAR ('\n'); + putchar ('\n'); } /* Print the username of each valid entry and the number of valid entries @@ -335,7 +335,7 @@ print_heading (void) if (include_where) printf (" %s", _("Where")); #endif - PUTCHAR ('\n'); + putchar ('\n'); } /* Display UTMP_BUF, which should have N entries. */ |