Skip to content

Commit

Permalink
Make the default handle equal to the osd index unless the platform pr…
Browse files Browse the repository at this point in the history
…ovides its own
  • Loading branch information
wberube committed Jun 5, 2024
1 parent f024b3c commit 2afb00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osd/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ int main(int argc, char *argv[])
PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0);
for (int id = 0; id < MAX_OSD; id++)
{
osds[id].hand = -1;
osds[id].hand = id;
osds[id].size = DEF_SIZE;
osds[id].posx = DEF_POSX;
osds[id].posy = DEF_POSY;
Expand Down

0 comments on commit 2afb00b

Please sign in to comment.