mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-26 07:38:18 -04:00
No need to cast st.st_rdev to DEV64_T anymore.
This commit is contained in:
1 parent
9c5e91f848
commit
3915fd7583
1 file changed
+1
-1
+1
-1
@@ -378,7 +378,7 @@ void recv_generator(char *fname, struct file_struct *file, int i, int f_out)
|
||||
if (am_root && preserve_devices && IS_DEVICE(file->mode)) {
|
||||
if (statret != 0 ||
|
||||
st.st_mode != file->mode ||
|
||||
(DEV64_T)st.st_rdev != file->u.rdev) {
|
||||
st.st_rdev != file->u.rdev) {
|
||||
delete_file(fname);
|
||||
if (verbose > 2)
|
||||
rprintf(FINFO,"mknod(%s,0%o,0x%x)\n",
|
||||
|
||||
Reference in new issue
Block a user