summaryrefslogtreecommitdiff
path: root/sysutils/wmmemmon/files/patch-src::mem_freebsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/wmmemmon/files/patch-src::mem_freebsd.c')
-rw-r--r--sysutils/wmmemmon/files/patch-src::mem_freebsd.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/wmmemmon/files/patch-src::mem_freebsd.c b/sysutils/wmmemmon/files/patch-src::mem_freebsd.c
new file mode 100644
index 000000000000..1da5a133598d
--- /dev/null
+++ b/sysutils/wmmemmon/files/patch-src::mem_freebsd.c
@@ -0,0 +1,15 @@
+--- src/mem_freebsd.c.orig Sun Sep 23 15:02:09 2001
++++ src/mem_freebsd.c Sun Sep 23 15:02:51 2001
+@@ -51,10 +51,10 @@
+
+ if (geteuid () != getuid () || getegid () != getgid ())
+ {
+- fprintf (stderr "unable to drop privileges");
++ fprintf (stderr,"unable to drop privileges");
+ exit(1);
+ }
+- return 0;
++ exit(1);
+ }
+
+