use STDERR_FILENO instead of 2
This commit is contained in:
		| @@ -861,7 +861,7 @@ handle_siginfo(int sig) | ||||
|     iov[1].iov_base = "\n"; | ||||
|     iov[1].iov_len = 1; | ||||
|  | ||||
|     writev(2, iov, sizeof(iov)/sizeof(iov[0])); | ||||
|     writev(STDERR_FILENO, iov, sizeof(iov)/sizeof(iov[0])); | ||||
| } | ||||
| #endif | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hornquist Astrand
					Love Hornquist Astrand