From: Sergey Poznyakoff Date: Tue, 20 Apr 2004 11:06:35 +0000 (+0000) Subject: Bugfix by Jürgen Weigert X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=f5461e304cf4a9a7be2cd8d6710f565996f7b567;p=chaz%2Ftar Bugfix by Jürgen Weigert --- diff --git a/src/rmt.h b/src/rmt.h index 3c9b42f..d949071 100644 --- 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)