Removed trailing \n from error_msg{,_and_die} messages.
diff --git a/whoami.c b/whoami.c
index 870ede4..398e373 100644
--- a/whoami.c
+++ b/whoami.c
@@ -38,5 +38,5 @@
 		puts(user);
 		return EXIT_SUCCESS;
 	}
-	error_msg_and_die("cannot find username for UID %u\n", (unsigned) uid);
+	error_msg_and_die("cannot find username for UID %u", (unsigned) uid);
 }