Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-01-02 19:03:26 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-01-02 19:03:44 +0300
commite7977df2cae2ac2c5da38f77488ec9e97d10c33b (patch)
treef735d1ac87f55b84e191bf07f3408779af5cb8bf /libbb
parentfb0c000567634db32a644fef0e82627517a0f2e8 (diff)
libbb/loop: fix compile failure (name collision)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/loop.c b/libbb/loop.c
index 95c4a34e2..a0c5d0259 100644
--- a/libbb/loop.c
+++ b/libbb/loop.c
@@ -112,7 +112,7 @@ static int get_next_free_loop(char *dev, int id)
#if ENABLE_TRY_LOOP_CONFIGURE || ENABLE_LOOP_CONFIGURE
# define LOOP_CONFIGURE 0x4C0A
-struct loop_config {
+struct bb_loop_config {
uint32_t fd;
uint32_t block_size;
struct loop_info64 info;
@@ -128,7 +128,7 @@ static int set_loopdev_params(int lfd,
{
int rc;
#if ENABLE_TRY_LOOP_CONFIGURE || ENABLE_LOOP_CONFIGURE
- struct loop_config lconfig;
+ struct bb_loop_config lconfig;
# define loopinfo lconfig.info
#else
bb_loop_info loopinfo;