Improve human readability of list_head functions. Add message of the day suggesting to use the command.

This commit is contained in:
Enrico Fraccaroli
2022-12-08 10:43:22 -05:00
parent c1cc7e366a
commit 0fd6bec4a3
16 changed files with 148 additions and 155 deletions
+2
View File
@@ -205,6 +205,8 @@ int main(int argc, char **argv)
// Set the user id.
setuid(pwd->pw_uid);
printf("\n");
// Print /etc/motd if it exists.
__print_message_file("/etc/motd");