gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-fuse] branch master updated: follow-up, for strerror


From: gnunet
Subject: [gnunet-fuse] branch master updated: follow-up, for strerror
Date: Tue, 19 Nov 2019 16:48:54 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet-fuse.

The following commit(s) were added to refs/heads/master by this push:
     new 0c8b782  follow-up, for strerror
0c8b782 is described below

commit 0c8b782bd737131b0db69b25f8f6b49d7fb8a0b9
Author: ng0 <address@hidden>
AuthorDate: Tue Nov 19 15:45:54 2019 +0000

    follow-up, for strerror
---
 src/fuse/gnunet-fuse.c | 6 +++---
 src/fuse/read.c        | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/fuse/gnunet-fuse.c b/src/fuse/gnunet-fuse.c
index a1c11e7..5a1e31a 100644
--- a/src/fuse/gnunet-fuse.c
+++ b/src/fuse/gnunet-fuse.c
@@ -132,7 +132,7 @@ GNUNET_FUSE_load_directory (struct GNUNET_FUSE_PathInfo *pi,
                                              0,
                                              GNUNET_FS_uri_chk_get_file_size 
(pi->uri)))
   {
-    UNLINK (pi->tmpfile);
+    unlink (pi->tmpfile);
     GNUNET_free (pi->tmpfile);
     pi->tmpfile = NULL;
     *eno = EIO; /* low level IO error */
@@ -352,7 +352,7 @@ GNUNET_FUSE_path_info_delete (struct GNUNET_FUSE_PathInfo 
*pi)
   {
     if (NULL != pi->tmpfile)
     {
-      GNUNET_break (0 == UNLINK (pi->tmpfile));
+      GNUNET_break (0 == unlink (pi->tmpfile));
       GNUNET_free (pi->tmpfile);
     }
     GNUNET_free (pi->filename);
@@ -456,7 +456,7 @@ run (void *cls,
     fprintf (stderr,
             _("Failed to mount `%s': %s\n"),
             source,
-            STRERROR (eno));
+            strerror (eno));
     ret = 5;
     cleanup_path_info (root);
     GNUNET_FS_uri_destroy (uri);
diff --git a/src/fuse/read.c b/src/fuse/read.c
index 5810705..9835970 100644
--- a/src/fuse/read.c
+++ b/src/fuse/read.c
@@ -154,7 +154,7 @@ gn_read (const char *path, char *buf, size_t size, off_t 
offset,
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 
                "Error reading from file `%s': %s\n",
                path,
-               STRERROR (errno));
+               strerror (errno));
     GNUNET_DISK_file_close (fh);
     GNUNET_FUSE_path_info_done (path_info);
     return - eno; 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]