]> Dogcows Code - chaz/tar/commitdiff
Bugfix by Jürgen Weigert
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 20 Apr 2004 11:06:35 +0000 (11:06 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 20 Apr 2004 11:06:35 +0000 (11:06 +0000)
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.022639 seconds and 4 git commands to generate.