From 5ed85491f5246fcff018305db9674188e1073b75 Mon Sep 17 00:00:00 2001 From: Edi De Candido Date: Sun, 18 Jun 2023 16:01:17 +0200 Subject: [PATCH] loreghei --- src/custom_shm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/custom_shm.c b/src/custom_shm.c index b661340..ae2f805 100644 --- a/src/custom_shm.c +++ b/src/custom_shm.c @@ -41,14 +41,13 @@ int getShmidServer() { // the server fork and the child remove the memory if (errno == EEXIST) { char buf[100]; - sprintf(buf, "the board alredy exit, I'll remove it now\n"); + sprintf(buf, "The board alredy exit, I'll remove it now\n"); warningMsg(buf); pid_t pid = fork(); if (pid == 0) { char str_key[16]; sprintf(str_key, "0x%08x", key); - printf("%s\n", str_key); char *vec[] = {"/bin/ipcrm", "-M", str_key, NULL}; if ((execv("/bin/ipcrm", vec)) == -1) {