diff --git a/cdist/conf/type/__sysctl/gencode-remote b/cdist/conf/type/__sysctl/gencode-remote
index a7aedb84..888ca117 100755
--- a/cdist/conf/type/__sysctl/gencode-remote
+++ b/cdist/conf/type/__sysctl/gencode-remote
@@ -31,7 +31,7 @@ case "$os" in
     redhat|centos|ubuntu|debian|devuan|archlinux|coreos)
         flag='-w'
     ;;
-    frebsd)
+    freebsd)
         flag=''
     ;;
 esac