diff options
| author | taiyu <[email protected]> | 2015-09-18 07:23:04 -0700 | 
|---|---|---|
| committer | taiyu <[email protected]> | 2015-09-18 07:23:04 -0700 | 
| commit | 0d51f62224a3c2e65894f1725076a588b172447c (patch) | |
| tree | 35529e2a7888e4d3af0997371efd1da5bbf2ad15 /sway/log.c | |
| parent | d2e2b04bfd505561981c9137bfc493bb8effe63e (diff) | |
| parent | 318e1be240574e316094e5ea73d32e9f9a1f7c04 (diff) | |
merge + no c_extensions
Diffstat (limited to 'sway/log.c')
| -rw-r--r-- | sway/log.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| @@ -80,9 +80,7 @@ void sway_log_errno(log_importance_t verbosity, char* format, ...) {  		va_end(args);  		fprintf(stderr, ": "); -		char error[256]; -		strerror_r(errno, error, sizeof(error)); -		fprintf(stderr, "%s", error); +		fprintf(stderr, "%s", strerror(errno));  		if (colored && isatty(STDERR_FILENO)) {  			fprintf(stderr, "\x1B[0m"); | 
