From d56d13f3b8905c931fd952a65d56bc1748a5c9bc Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Wed, 12 Jan 2022 11:45:43 +0530
Subject: [PATCH] missing single quotes

---
 rigctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rigctl.c b/rigctl.c
index 0ff553b..6e96455 100644
--- a/rigctl.c
+++ b/rigctl.c
@@ -1819,7 +1819,7 @@ gboolean parse_extended_cmd(char *command, CLIENT *client) {
     case 'G': // ZZMG
         // set/read mic gain
         if (command[4] == ';') {
-            memset(reply, \0, 9);
+            memset(reply, '\0', 9);
             sprintf(reply, "ZZMG%03d;", (int)(((mic_gain + 12.0) / 72.0) * 100.0));
             send_resp(client->fd, reply);
         } else if (command[7] == ';') {
-- 
2.45.2