Fix Wformat build error
[platform/core/connectivity/stc-manager.git] / src / stc-manager.c
index d83f079..f0d7e57 100644 (file)
@@ -176,7 +176,7 @@ int stc_commit_iptables(char *cmd, int *err_num, char **err_str)
        if (pid == 0) {
                errno = 0;
                if (execv(args[0], args) == -1) {
-                       STC_LOGE("Failed to execute [%s]", err_str);
+                       STC_LOGE("Failed to execute [%s]", *err_str);
                        g_strfreev(args);
                        exit(-1);
                }