summaryrefslogtreecommitdiff
path: root/AK/Error.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/Error.h')
-rw-r--r--AK/Error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Error.h b/AK/Error.h
index 302de1cf3c..02eccaf5ca 100644
--- a/AK/Error.h
+++ b/AK/Error.h
@@ -76,11 +76,11 @@ public:
}
int code() const { return m_code; }
-#ifndef KERNEL
bool is_errno() const
{
return m_code != 0;
}
+#ifndef KERNEL
bool is_syscall() const
{
return m_syscall;