]> Dogcows Code - chaz/tar/blobdiff - src/rmt.h
*** empty log message ***
[chaz/tar] / src / rmt.h
index c4744060b4800e3267070243a66ac8dd4ed9360b..6260c0855ecf1bf904f3369e58904b25360fcda8 100644 (file)
--- a/src/rmt.h
+++ b/src/rmt.h
@@ -62,7 +62,7 @@ extern char *__rmt_path;
 extern char *index();
 #endif
 
-#define _remdev(path)  (!f_force_local && __rmt_path=index(path, ':'))
+#define _remdev(path)  (!f_force_local && (__rmt_path=index(path, ':')))
 #define _isrmt(fd)             ((fd) >= __REM_BIAS)
 
 #define rmtopen(path,oflag,mode) (_remdev(path) ? __rmt_open(path, oflag, mode, __REM_BIAS) : open(path, oflag, mode))
This page took 0.0205650000000001 seconds and 4 git commands to generate.