Skip to content

Commit

Permalink
Correcting spelling-typo in comment when initializing semaphore.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Baumann <[email protected]>
  • Loading branch information
daniel-baumann committed Jan 18, 2025
1 parent f540edd commit 0d97223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/haveged.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ int main(int argc, char **argv)
fprintf(stderr, "%s: disabling command mode for this instance\n", params->daemon);
}
}
/* Initilize named semaphore to synchronize command instances */
/* Initialize named semaphore to synchronize command instances */
if (mkdir("/dev/shm", 0755) != 0) {
if (errno != EEXIST) {
error_exit("Couldn't create /dev/shm directory: %s", strerror(errno));
Expand Down

0 comments on commit 0d97223

Please sign in to comment.