Commit Diff


commit - a88081303a14569e54c6ff62b03cd0be8be39552
commit + 7c13785946178f23dc739bb6a10800ee7dba968f
blob - 71bed2798888875616c581ffd73ceca302bc5fd6
blob + 79d1a8a4d4213e3eceb6f2590ccf1ff3f90901df
--- modules/volume.c
+++ modules/volume.c
@@ -57,7 +57,7 @@ init_volume(int *nfds)
 	hdl = sioctl_open(SIO_DEVANY, SIOCTL_READ, 0);
 	if (hdl == NULL)
 	{
-		(void)fputs("Could not open sndio\n", stderr);
+		(void)puts("Could not open sndio");
 		(void)strcpy(volume_string, UNKNOWN);
 
 		return false;
@@ -80,7 +80,7 @@ process_volume_events(struct pollfd *pfd, bool *hdl_op
 {
 			if (sioctl_revents(hdl, pfd) & POLLHUP)
 			{
-				(void)fputs("Lost connection to sndio\n", stderr);
+				(void)puts("Lost connection to sndio\n");
 				sioctl_close(hdl);
 				*hdl_open = false;
 			}
blob - 46fc5109abd7af01513817c45f41be69b07ca3b3
blob + 7102df21e5b7ef636895621cc42a167f3da6ad54
--- src/config.c
+++ src/config.c
@@ -163,7 +163,7 @@ read_config(
 		continue;
 
 	read_err:
-		(void)fprintf(stderr, "Config syntax error line %d: %s\n", i, line);
+		(void)printf("Config syntax error line %d: %s\n", i, line);
 		free(line);
 		(void)fclose(file);
 
blob - ae5d48dc9ed468e3b8c2d4626dbf0f4e1b50f430
blob + effb64cfd1b1b70bf3881b58bff4ed921eb4e316
--- src/main.c
+++ src/main.c
@@ -116,7 +116,7 @@ main(int argc, char *argv[])
 
 	if (display == NULL)
 	{
-		(void)fputs("Failed to get display\n", stderr);
+		(void)puts("Failed to get display");
 
 		return 1;
 	}