Archived
3
0

no modification

This commit is contained in:
lapupe 2016-10-02 14:32:11 +02:00
parent 4f0f97abce
commit 716b8e3145

View File

@ -14,7 +14,7 @@ int file_write (const char *path, const char *buf, size_t msize)
// printf("file_write: path to open %s\n", path); // printf("file_write: path to open %s\n", path);
int fd = open (path, O_WRONLY); int fd = open (path, O_WRONLY);
if (fd <= 0) { if (fd <= 0) {
printf("file_write: fd < 0\n"); printf("file_write: fd < 0 path : %s\n", path);
perror ("file_write"); perror ("file_write");
return ER_FILE_OPEN; return ER_FILE_OPEN;
} }