Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/util/glibcompat.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/util/glibcompat.c b/src/util/glibcompat.c
index e19cf74e72..42f9353c8f 100644
--- a/src/util/glibcompat.c
+++ b/src/util/glibcompat.c
@@ -32,9 +32,9 @@ gint
vir_g_fsync(gint fd)
{
#ifdef G_OS_WIN32
- return _commit(fd);
+ return _commit(fd);
#else
- return fsync(fd);
+ return fsync(fd);
#endif
}
@@ -45,23 +45,23 @@ vir_g_fsync(gint fd)
char *
vir_g_strdup_printf(const char *msg, ...)
{
- va_list args;
- char *ret;
- va_start(args, msg);
- ret = g_strdup_vprintf(msg, args);
- if (!ret)
- abort();
- va_end(args);
- return ret;
+ va_list args;
+ char *ret;
+ va_start(args, msg);
+ ret = g_strdup_vprintf(msg, args);
+ if (!ret)
+ abort();
+ va_end(args);
+ return ret;
}
char *
vir_g_strdup_vprintf(const char *msg, va_list args)
{
- char *ret;
- ret = g_strdup_vprintf(msg, args);
- if (!ret)
- abort();
- return ret;
+ char *ret;
+ ret = g_strdup_vprintf(msg, args);
+ if (!ret)
+ abort();
+ return ret;
}
--
2.24.1