actually log write err.

SVN revision: 56186
This commit is contained in:
Carsten Haitzler 2011-01-16 08:12:51 +00:00
parent 9f51fd635d
commit 8da3cc47b5
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ main(int argc, char **argv)
tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (tmpfd >= 0)
{
write(tmpfd, "a", 1);
if (write(tmpfd, "a", 1) != 1) perror("write");
close(tmpfd);
}
efreet_shutdown();