summaryrefslogtreecommitdiff
path: root/test/benchmark-gvfs-big-files.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2011-03-17 19:01:17 +0100
committerTomas Bzatek <tbzatek@redhat.com>2011-03-17 19:01:17 +0100
commit08120de3bdf768ed6d1a935ce05b64f9ddecadc0 (patch)
treebff58f236ff267fe21c377f488f11ea08544c0c9 /test/benchmark-gvfs-big-files.c
parentcdc5849ea5067573a278c7d5f1a21c14c5b0686a (diff)
downloadgvfs-08120de3bdf768ed6d1a935ce05b64f9ddecadc0.tar.gz
Cleanups and fixes for compiler warnings
https://bugzilla.gnome.org/show_bug.cgi?id=641856
Diffstat (limited to 'test/benchmark-gvfs-big-files.c')
-rw-r--r--test/benchmark-gvfs-big-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmark-gvfs-big-files.c b/test/benchmark-gvfs-big-files.c
index af9c7b77..d8bd197a 100644
--- a/test/benchmark-gvfs-big-files.c
+++ b/test/benchmark-gvfs-big-files.c
@@ -72,7 +72,7 @@ create_file (GFile *base_dir)
if (!scratch_file)
return NULL;
- output_stream = G_OUTPUT_STREAM (g_file_replace (scratch_file, 0, FALSE, G_FILE_CREATE_NONE, NULL, &error));
+ output_stream = G_OUTPUT_STREAM (g_file_replace (scratch_file, NULL, FALSE, G_FILE_CREATE_NONE, NULL, &error));
if (!output_stream)
{
g_printerr ("Failed to create scratch file: %s\n", error->message);