This help pinpointing errors in logs from my app
Change-Id: Ie2b62bc95371daf7e1eb58e0323835f169399910
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240506142303.13198-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28621.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
| ... | ... |
@@ -1663,7 +1663,7 @@ man_dispatch_command(struct management *man, struct status_output *so, const cha |
| 1663 | 1663 |
#endif |
| 1664 | 1664 |
else |
| 1665 | 1665 |
{
|
| 1666 |
- msg(M_CLIENT, "ERROR: unknown command, enter 'help' for more options"); |
|
| 1666 |
+ msg(M_CLIENT, "ERROR: unknown command [%s], enter 'help' for more options", p[0]); |
|
| 1667 | 1667 |
} |
| 1668 | 1668 |
|
| 1669 | 1669 |
done: |