Use macro to print error

This commit is contained in:
Arun Prakash Jana 2020-01-15 01:21:13 +05:30
parent a9ebe7ed88
commit b1c9f4ed45
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}