]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Do not access static members with instance references
authorJürg Billeter <j@bitron.ch>
Mon, 6 Aug 2012 13:47:39 +0000 (15:47 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 6 Aug 2012 13:47:39 +0000 (15:47 +0200)
vapi/posix.vapi

index 6d56e8dcc078759382ccc331aa5462357b5af26c..3638866f93d8c70f6c736ccd927eeaea135480b2 100644 (file)
@@ -2418,7 +2418,7 @@ namespace Posix {
 
                public static CpuSet init(int num = 1) {
                        CpuSet cpus = new CpuSet(num);
-                       var size = cpus.alloc_size(num);
+                       var size = CpuSet.alloc_size(num);
                        cpus.zero_sized(size);
                        return cpus;
                }