aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/mke2fs.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-08-01 12:14:23 -0700
committerRob Landley <rob@landley.net>2018-08-04 12:38:13 -0500
commitfc655a04768cade9f42ad2d865d1a7a52e7f32dc (patch)
treea4197275580236bdfda5f8d305c9a134743002d3 /toys/pending/mke2fs.c
parentd7c111f4c39de122cdd1ea41c8af67a609fc859a (diff)
downloadtoybox-fc655a04768cade9f42ad2d865d1a7a52e7f32dc.tar.gz
Fix modprobe error handling.
modprobe was failing if you `modprobe a.ko`, then `modprobe b.ko` where b.ko depends on a.ko --- b.ko will fail to load because a.ko is already loaded. The code to handle this was incorrectly checking `rc` rather than `errno` against EEXIST. (We should pull the insmod.c equivalent of `ins_mod` out into lib/ and reuse it in modprobe.c, but I didn't want to get bogged down.) Bug: https://issuetracker.google.com/112069618 Reported-by: Wen Xie <xiewen3@motorola.com>
Diffstat (limited to 'toys/pending/mke2fs.c')
0 files changed, 0 insertions, 0 deletions