summaryrefslogtreecommitdiff
path: root/contrib/oeaudit/freebsd.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/oeaudit/freebsd.py')
-rw-r--r--contrib/oeaudit/freebsd.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/oeaudit/freebsd.py b/contrib/oeaudit/freebsd.py
index e5e8440a2d..5765e8a726 100644
--- a/contrib/oeaudit/freebsd.py
+++ b/contrib/oeaudit/freebsd.py
@@ -188,5 +188,7 @@ def prepare_version(bsd_version):
split = bsd_version.rsplit(',', 1)
split = split[0]
split = split.rsplit('_', 1)
+ if len(split) == 2:
+ rev = "r%s" % split[1]
return (split[0], rev)