]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: init flags to 0 in rados example 20671/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 1 Mar 2018 15:02:00 +0000 (07:02 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 1 Mar 2018 15:02:00 +0000 (07:02 -0800)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
doc/rados/api/librados-intro.rst

index 9ebb05b464969efc49f07aba627cdbb98f59bd11..c63a255897c0f0109b209097f9a979d98752a787 100644 (file)
@@ -277,7 +277,7 @@ it and connecting to the cluster might look something like this:
                rados_t cluster;
                char cluster_name[] = "ceph";
                char user_name[] = "client.admin";
-               uint64_t flags
+               uint64_t flags = 0;
        
                /* Initialize the cluster handle with the "ceph" cluster name and the "client.admin" user */  
                int err;