]> Dogcows Code - chaz/openbox/blobdiff - obt/paths.c
found memory corruption in the obt xqueue and paths
[chaz/openbox] / obt / paths.c
index 8afe4f711fe67b76cca7debeb55524ac98119615..b20eb48d1139459cbaf2e99e9bb0b497528494e2 100644 (file)
@@ -126,7 +126,7 @@ static void find_uid_gid(uid_t *u, gid_t **g, guint *n)
     }
     endgrent();
 
-    qsort(*g, sizeof(gid_t), *n, gid_cmp);
+    qsort(*g, *n, sizeof(gid_t), gid_cmp);
 }
 
 ObtPaths* obt_paths_new(void)
This page took 0.019332 seconds and 4 git commands to generate.