summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/libdiskfs-rename.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/libdiskfs-rename.patch b/debian/patches/libdiskfs-rename.patch
index e530a6c7..626d48d1 100644
--- a/debian/patches/libdiskfs-rename.patch
+++ b/debian/patches/libdiskfs-rename.patch
@@ -15,7 +15,7 @@ index 747c666..d0e5b60 100644
return EXDEV;
+ if (!strcmp (fromname, ".") || !strcmp (fromname, "..")
-+ || !strcmp (toname, ".") || !strcmp (toname, "..")
++ || !strcmp (toname, ".") || !strcmp (toname, ".."))
+ return EINVAL;
+
if (tocred->po->shadow_root != fromcred->po->shadow_root)