summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-03-14 11:28:06 +0100
committerBastien Nocera <hadess@hadess.net>2013-04-02 15:54:59 +0200
commit421ce4a6b4526047fde9d8d039a66b520eb09f3f (patch)
treefd4720a187328381b7549731290f21d948460ac2 /metadata
parent070294d1bac480f45eb4b5573d4aa6b8380e7fdc (diff)
downloadgvfs-421ce4a6b4526047fde9d8d039a66b520eb09f3f.tar.gz
Fix compiler warnings
https://bugzilla.gnome.org/show_bug.cgi?id=695834
Diffstat (limited to 'metadata')
-rw-r--r--metadata/meta-get-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/meta-get-tree.c b/metadata/meta-get-tree.c
index bfe911ba..1af626da 100644
--- a/metadata/meta-get-tree.c
+++ b/metadata/meta-get-tree.c
@@ -51,7 +51,7 @@ main (int argc,
{
char buffer[1000];
g_print ("Pausing, press enter\n");
- gets(buffer);
+ fgets(buffer, sizeof(buffer), stdin);
}
}