Przeglądaj źródła

Use macro to print error

master
Arun Prakash Jana 5 lat temu
rodzic
commit
b1c9f4ed45
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: A75979F35C080412
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c Wyświetl plik

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



Ładowanie…
Anuluj
Zapisz