Commit 21838b75 authored by Steve Langasek's avatar Steve Langasek
Browse files

Fix an inverted check for whether the change-mount mntctl has a

different device name.
parent 12af3ead
...@@ -11,6 +11,8 @@ mountall (2.37) UNRELEASED; urgency=low ...@@ -11,6 +11,8 @@ mountall (2.37) UNRELEASED; urgency=low
* Adjust build-dependencies for the differing plymouth -dev package name * Adjust build-dependencies for the differing plymouth -dev package name
in Debian vs. Ubuntu (assumes the next maintainer upload of plymouth to in Debian vs. Ubuntu (assumes the next maintainer upload of plymouth to
Debian includes our needed API addition). Debian includes our needed API addition).
* Fix an inverted check for whether the change-mount mntctl has a
different device name.
[ Raphaël Pinson ] [ Raphaël Pinson ]
* Honor nobootwait option for /var/* and /usr/* remote filesystems. * Honor nobootwait option for /var/* and /usr/* remote filesystems.
......
...@@ -3702,7 +3702,7 @@ change_mount_device (const char *devname, ...@@ -3702,7 +3702,7 @@ change_mount_device (const char *devname,
/* Change only if the requested device is /* Change only if the requested device is
* really any different than whats stored * really any different than whats stored
*/ */
if (!strcmp (mnt->device, devname)) { if (strcmp (mnt->device, devname)) {
char * newdev; char * newdev;
ret = 0; ret = 0;
newdev = nih_strdup (mounts, devname); newdev = nih_strdup (mounts, devname);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment