From 8aece9bc9c8f2cb123ddd5da988c619eca39e257 Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Wed, 25 Apr 2018 14:42:34 +0200 Subject: [PATCH] uml/: Remove spaces after casts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kletzander Reviewed-by: Ján Tomko --- 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 b50ba1ba64..b0774b288e 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;