summaryrefslogtreecommitdiffstats
path: root/src/net/udp
diff options
context:
space:
mode:
authorMichael Brown2013-11-25 15:01:40 +0100
committerMichael Brown2013-11-27 12:27:50 +0100
commit02a63c6dec835943bf9bf64fae72d391c696a639 (patch)
tree21cd9a0967675db705cfe66168fea950b7f4d03e /src/net/udp
parent[main] Defer "initialising devices" message until initialising devices (diff)
downloadipxe-02a63c6dec835943bf9bf64fae72d391c696a639.tar.gz
ipxe-02a63c6dec835943bf9bf64fae72d391c696a639.tar.xz
ipxe-02a63c6dec835943bf9bf64fae72d391c696a639.zip
[console] Pass escape sequence context to ANSI escape sequence handlers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/udp')
-rw-r--r--src/net/udp/syslog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/udp/syslog.c b/src/net/udp/syslog.c
index 00101008..4bfba51e 100644
--- a/src/net/udp/syslog.c
+++ b/src/net/udp/syslog.c
@@ -111,10 +111,12 @@ static unsigned int syslog_severity = SYSLOG_DEFAULT_SEVERITY;
/**
* Handle ANSI set syslog priority (private sequence)
*
+ * @v ctx ANSI escape sequence context
* @v count Parameter count
* @v params List of graphic rendition aspects
*/
-static void syslog_handle_priority ( unsigned int count __unused,
+static void syslog_handle_priority ( struct ansiesc_context *ctx __unused,
+ unsigned int count __unused,
int params[] ) {
if ( params[0] >= 0 ) {
syslog_severity = params[0];