diff options
| author | 2020-01-15 01:21:13 +0530 | |
|---|---|---|
| committer | 2020-01-15 01:21:13 +0530 | |
| commit | b1c9f4ed457d3cd734329a7dde755f1f9f58a242 (patch) | |
| tree | 234bb922bf55e732c7efd0d30ba69160d9c15cf3 /src | |
| parent | a9ebe7ed8857bcf0496c454bf9e10006dfb0b41c (diff) | |
| download | nnn-b1c9f4ed457d3cd734329a7dde755f1f9f58a242.tar.gz | |
Use macro to print error
Diffstat (limited to 'src')
| -rw-r--r-- | src/nnn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |