Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cameron Nemo
mountall
Commits
21838b75
Commit
21838b75
authored
Jun 26, 2012
by
Steve Langasek
Browse files
Fix an inverted check for whether the change-mount mntctl has a
different device name.
parent
12af3ead
Changes
2
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
21838b75
...
...
@@ -11,6 +11,8 @@ mountall (2.37) UNRELEASED; urgency=low
* Adjust build-dependencies for the differing plymouth -dev package name
in Debian vs. Ubuntu (assumes the next maintainer upload of plymouth to
Debian includes our needed API addition).
* Fix an inverted check for whether the change-mount mntctl has a
different device name.
[ Raphaël Pinson ]
* Honor nobootwait option for /var/* and /usr/* remote filesystems.
...
...
src/mountall.c
View file @
21838b75
...
...
@@ -3702,7 +3702,7 @@ change_mount_device (const char *devname,
/* Change only if the requested device is
* really any different than whats stored
*/
if
(
!
strcmp
(
mnt
->
device
,
devname
))
{
if
(
strcmp
(
mnt
->
device
,
devname
))
{
char
*
newdev
;
ret
=
0
;
newdev
=
nih_strdup
(
mounts
,
devname
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment