aboutsummaryrefslogtreecommitdiff
path: root/sysutils/and
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-02-16 01:21:31 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-02-16 01:21:31 +0000
commitd3b76533cec6c312726faf29a54792841466e09b (patch)
tree5f9fb396e931c0e0422b1fb7770f73cd9743569d /sysutils/and
parentde24258d2291930c02476c32a03f9d11dcbea65a (diff)
downloadports-d3b76533cec6c312726faf29a54792841466e09b.tar.gz
ports-d3b76533cec6c312726faf29a54792841466e09b.zip
Fix missing digit in osreldat.
PR: 47553 Submitted by: Oliver Lehmann <lehmann@ans-netz.de>
Notes
Notes: svn path=/head/; revision=75629
Diffstat (limited to 'sysutils/and')
-rw-r--r--sysutils/and/files/patch-and-OpenBSD.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/and/files/patch-and-OpenBSD.c b/sysutils/and/files/patch-and-OpenBSD.c
index 5d94253e3724..d0103b0ed05f 100644
--- a/sysutils/and/files/patch-and-OpenBSD.c
+++ b/sysutils/and/files/patch-and-OpenBSD.c
@@ -4,13 +4,13 @@
abort();
}
if (openbsd_next >= openbsd_nproc) return NULL;
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 50014
++#if defined(__FreeBSD__) && __FreeBSD_version >= 500014
+ strncpy(openbsd_proc.command,openbsd_pt[openbsd_next].ki_comm,1023);
+#else
strncpy(openbsd_proc.command,openbsd_pt[openbsd_next].kp_proc.p_comm,1023);
+#endif
openbsd_proc.command[1023] = 0;
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 50014
++#if defined(__FreeBSD__) && __FreeBSD_version >= 500014
+ openbsd_proc.pid = openbsd_pt[openbsd_next].ki_pid;
+ openbsd_proc.nice = openbsd_pt[openbsd_next].ki_nice-20;
+ openbsd_proc.uid = openbsd_pt[openbsd_next].ki_ruid;
@@ -22,7 +22,7 @@
openbsd_proc.gid = openbsd_pt[openbsd_next].kp_eproc.e_pcred.p_rgid;
+#endif
/* Adapted from top(1) port, as found in the misc@openbsd.org archive */
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 50014
++#if defined(__FreeBSD__) && __FreeBSD_version >= 500014
+ /* XXX: Accessing ki_paddr causes sig10 ...
+ openbsd_proc.utime = (openbsd_pt[openbsd_next].ki_paddr->p_uticks +
+ openbsd_pt[openbsd_next].ki_paddr->p_sticks +