nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b1c9f4ed457d3cd734329a7dde755f1f9f58a242
parent a9ebe7ed8857bcf0496c454bf9e10006dfb0b41c
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed, 15 Jan 2020 01:21:13 +0530

Use macro to print error

Diffstat:
Msrc/nnn.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -3469,7 +3469,7 @@ static bool archive_mount(char *name, char *path, char *newpath, int *presel) free(dir); if (!xmktree(newpath, TRUE)) { - printwait(strerror(errno), presel); + printwarn(presel); return FALSE; } @@ -3514,7 +3514,7 @@ static bool remote_mount(char *newpath, int *presel) /* Create the mount point */ mkpath(cfgdir, tmp, newpath); if (!xmktree(newpath, TRUE)) { - printwait(strerror(errno), presel); + printwarn(presel); return FALSE; }