projects
/
platform
/
upstream
/
udisks2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
536688a
)
Shut up valgrind complaing about LOOP_GET_STATUS64 ioctl
author
David Zeuthen
<davidz@redhat.com>
Fri, 27 Jan 2012 17:43:54 +0000
(12:43 -0500)
committer
David Zeuthen
<davidz@redhat.com>
Fri, 27 Jan 2012 17:43:54 +0000
(12:43 -0500)
Signed-off-by: David Zeuthen <davidz@redhat.com>
src/udiskscleanup.c
patch
|
blob
|
history
diff --git
a/src/udiskscleanup.c
b/src/udiskscleanup.c
index
0405e43
..
b5b61c1
100644
(file)
--- a/
src/udiskscleanup.c
+++ b/
src/udiskscleanup.c
@@
-1561,6
+1561,7
@@
udisks_cleanup_check_loop_entry (UDisksCleanup *cleanup,
attempt_no_cleanup = TRUE;
goto out;
}
+ memset (&li64, '\0', sizeof (struct loop_info64));
if (ioctl (loop_device_fd, LOOP_GET_STATUS64, &li64) == -1)
{
udisks_info ("error issuing LOOP_GET_STATUS64 ioctl on %s: %m", loop_device);