From f59a472204845513c5c24badbc48d484197362aa Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 7 Jan 2022 02:03:57 +0100 Subject: [PATCH] Fix erroneous function call on NetBSD --- eshell-info-banner.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eshell-info-banner.el b/eshell-info-banner.el index 8598256..4227a95 100644 --- a/eshell-info-banner.el +++ b/eshell-info-banner.el @@ -2,7 +2,7 @@ ;; Author: Lucien Cartier-Tilet ;; Maintainer: Lucien Cartier-Tilet -;; Version: 0.8.3 +;; Version: 0.8.4 ;; Package-Requires: ((emacs "25.1") (f "0.20") (s "1")) ;; Homepage: https://github.com/Phundrak/eshell-info-banner.el @@ -482,7 +482,7 @@ This function is to be only used on platforms which support sysctl." (defun eshell-info-banner--get-memory-netbsd () "Get memory usage for NetBSD systems. See `eshell-info-banner--get-memory'." - (let* ((total (eshell-info-banner--get-memory-unix-command-to-mem `("sysctl hw.physmem64"))) + (let* ((total (eshell-info-banner--get-memory-unix-command-to-mem "sysctl hw.physmem64")) (used (- total (* 1024 (string-to-number (s-trim