Minor fixes
All checks were successful
Create releases with ArchLinux pkg / check-and-build-and-release (push) Successful in 1s

This commit is contained in:
Stephen Seo 2024-07-21 13:05:39 +09:00
parent 2c9f3b0452
commit 6026bef0a0

View file

@ -11,7 +11,7 @@
// local includes
#include "common_constants.h"
void print_usage(char *name) {
void print_usage(const char *name) {
printf("Usage:\n");
printf(" %s\n", name);
printf(" [--start-recording \n");
@ -143,7 +143,7 @@ int main(int argc, char **argv) {
// Error. TODO handle this.
return 7;
} else {
switch(type) {
switch(type & UNIX_SOCKET_EVENT_MASK) {
case UNIX_SOCKET_EVENT_START_RECORDING:
puts("Sent event \"start recording\"!");
break;