[PATCH 20/30] uml/: Remove spaces after casts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 src/uml/uml_driver.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
index b50ba1ba64ab..b0774b288e97 100644
--- a/src/uml/uml_driver.c
+++ b/src/uml/uml_driver.c
@@ -1338,7 +1338,7 @@ static int umlGetProcessInfo(unsigned long long *cpuTime, pid_t pid)
     FILE *pidinfo;
     unsigned long long usertime, systime;
 
-    if (virAsprintf(&proc, "/proc/%lld/stat", (long long) pid) < 0)
+    if (virAsprintf(&proc, "/proc/%lld/stat", (long long)pid) < 0)
         return -1;
 
     if (!(pidinfo = fopen(proc, "r"))) {
@@ -2434,8 +2434,8 @@ umlDomainBlockPeek(virDomainPtr dom,
     /* NB. Because we configure with AC_SYS_LARGEFILE, off_t should
      * be 64 bits on all platforms.
      */
-    if (lseek(fd, offset, SEEK_SET) == (off_t) -1 ||
-        saferead(fd, buffer, size) == (ssize_t) -1) {
+    if (lseek(fd, offset, SEEK_SET) == (off_t)-1 ||
+        saferead(fd, buffer, size) == (ssize_t)-1) {
         virReportSystemError(errno,
                              _("cannot read %s"), path);
         goto cleanup;
-- 
2.17.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux