소스 검색

Bugfix by Jrgen Weigert

Sergey Poznyakoff 21 년 전
부모
커밋
f5461e304c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/rmt.h

+ 1 - 1
src/rmt.h

@@ -34,7 +34,7 @@ int rmt_ioctl__ (int, int, char *);
 
 #define _remdev(Path) \
   (!force_local_option && (rmt_path__ = strchr (Path, ':')) \
-   && rmt_path__ > (Path) && ! memchr (Path, rmt_path__ - (Path), '/'))
+   && rmt_path__ > (Path) && ! memchr (Path, '/', rmt_path__ - (Path)))
 
 #define _isrmt(Fd) \
   ((Fd) >= __REM_BIAS)