summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-06-28 00:26:29 +0000
committerderaadt <deraadt@openbsd.org>2002-06-28 00:26:29 +0000
commit18f29c18c5f71d9f7ed0604f4e0a0a720aadf9ca (patch)
tree0ffc63911faa12f6990a3552829a1439853b19e1
parentKNF (diff)
downloadwireguard-openbsd-18f29c18c5f71d9f7ed0604f4e0a0a720aadf9ca.tar.xz
wireguard-openbsd-18f29c18c5f71d9f7ed0604f4e0a0a720aadf9ca.zip
KNF
-rw-r--r--bin/systrace/intercept.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/systrace/intercept.c b/bin/systrace/intercept.c
index ff95309e553..2564861025e 100644
--- a/bin/systrace/intercept.c
+++ b/bin/systrace/intercept.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intercept.c,v 1.7 2002/06/21 15:26:06 provos Exp $ */
+/* $OpenBSD: intercept.c,v 1.8 2002/06/28 00:26:29 deraadt Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -73,6 +73,7 @@ int
sccompare(struct intercept_syscall *a, struct intercept_syscall *b)
{
int diff;
+
diff = strcmp(a->emulation, b->emulation);
if (diff)
return (diff);