commit 02120c749b4dd2725d7760279caedde0ebd26357
parent 6ea3250b6e62b49afe17877bf68016d51b4c1967
Author: dwzg <dennis@wtzg.de>
Date: Tue, 28 Apr 2020 22:27:25 +0200
Return stolen newline
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/paleofetch.c b/paleofetch.c
@@ -112,6 +112,7 @@ static char *get_title() {
char hostname[BUF_SIZE / 3];
status = gethostname(hostname, BUF_SIZE / 3);
halt_and_catch_fire("unable to retrieve host name");
+
char username[BUF_SIZE / 3];
status = getlogin_r(username, BUF_SIZE / 3);
halt_and_catch_fire("unable to retrieve login name");