projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
399d45f
)
Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimes
author
Rob Landley
<rob@landley.net>
Wed, 21 Jun 2006 02:39:57 +0000
(
02:39
-0000)
committer
Rob Landley
<rob@landley.net>
Wed, 21 Jun 2006 02:39:57 +0000
(
02:39
-0000)
produce an error, due to a missing rc assignment.
util-linux/mount.c
patch
|
blob
|
history
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index 9225289b6767fae37a0b2b852281b1a24e66de98..fecf81606d32795d647088ab43988c92b3fa1a26 100644
(file)
--- a/
util-linux/mount.c
+++ b/
util-linux/mount.c
@@
-529,7
+529,8
@@
int mount_main(int argc, char **argv)
// Mount this thing.
- if (singlemount(mtcur)) {
+ rc = singlemount(mtcur);
+ if(rc) {
// Don't whine about already mounted fs when mounting all.
// Note: we should probably change return value to indicate
// failure, without causing a duplicate error message.