]> Dogcows Code - chaz/tar/blobdiff - src/rmt.h
Bugfix by Jürgen Weigert
[chaz/tar] / src / rmt.h
index 3c9b42f1b8590356bece428b20dede0bbed78164..d94907113b79204e85adbc2726ef2dad8bdf2c6d 100644 (file)
--- a/src/rmt.h
+++ b/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)
This page took 0.022357 seconds and 4 git commands to generate.