Browse Source

Bugfix by Jürgen Weigert

Sergey Poznyakoff 21 years ago
parent
commit
f5461e304c
1 changed files with 1 additions and 1 deletions
  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)