소스 검색

:art: Utilisation des nouvelles macros

Loquicom 6 년 전
부모
커밋
f4ea6d89ae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mysh.c

+ 1 - 1
mysh.c

@@ -27,7 +27,7 @@ void test_write() {
 void show_current_dir(const char* before, const char* after) {
     char buffer[BUFFER_SIZE];
     if (getcwd(buffer, sizeof (buffer)) == NULL) {
-        perror("Erreur getcwd() ");
+        addperror("Erreur getcwd()");
     } else {
         if(before == NULL && after == NULL){
             printf("%s", buffer);