summaryrefslogtreecommitdiffstats
path: root/tools/dmsetup.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-08-03 11:20:15 +0000
committerAlasdair Kergon <agk@redhat.com>2009-08-03 11:20:15 +0000
commitf86117e3d59e5c670dcee06b3486f49238762840 (patch)
treeba085131498ed5f9965e636b07f31ec42edb0588 /tools/dmsetup.c
parentb59c9854e8c9c40e0a4ced724439ba956c06f1b9 (diff)
downloadlvm2-f86117e3d59e5c670dcee06b3486f49238762840.tar.gz
lvm2-f86117e3d59e5c670dcee06b3486f49238762840.tar.xz
lvm2-f86117e3d59e5c670dcee06b3486f49238762840.zip
cleanup some ignored return values & 'stack's
Diffstat (limited to 'tools/dmsetup.c')
-rw-r--r--tools/dmsetup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index e189cc88..d0da1906 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -593,7 +593,7 @@ static int _create(int argc, char **argv, void *data __attribute((unused)))
goto out;
}
- dm_udev_wait(cookie);
+ (void) dm_udev_wait(cookie);
r = 1;
@@ -631,7 +631,7 @@ static int _rename(int argc, char **argv, void *data __attribute((unused)))
goto out;
}
- dm_udev_wait(cookie);
+ (void) dm_udev_wait(cookie);
r = 1;