diff options
| author | Drew DeVault <[email protected]> | 2015-09-18 07:27:35 -0400 | 
|---|---|---|
| committer | Drew DeVault <[email protected]> | 2015-09-18 07:27:35 -0400 | 
| commit | 318e1be240574e316094e5ea73d32e9f9a1f7c04 (patch) | |
| tree | b93c54cba11fd92adb56dce49261d9adb88991fd /sway/log.c | |
| parent | 8e25ce4e5763c74864587b0a78217eb20c299afe (diff) | |
Fix warnings introduced by prior commit
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"); | 
