From 95f838ffe4112d70691d069aac6ce3ba24cb0ec6 Mon Sep 17 00:00:00 2001 From: samm2 <samm2@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Tue, 6 Oct 2009 08:40:26 +0000 Subject: [PATCH] FreeBSD: remove bogus message about memory problems caused by new code git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2938 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- smartmontools/os_freebsd.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/smartmontools/os_freebsd.cpp b/smartmontools/os_freebsd.cpp index 1d4430642..2e863c5a1 100644 --- a/smartmontools/os_freebsd.cpp +++ b/smartmontools/os_freebsd.cpp @@ -1766,7 +1766,6 @@ smart_device * freebsd_smart_interface::autodetect_smart_device(const char * nam char * * atanames = 0; int numata = 0; numata = get_dev_names_ata(&atanames); if (numata < 0) { - set_err(ENOMEM); return false; } @@ -1781,7 +1780,6 @@ smart_device * freebsd_smart_interface::autodetect_smart_device(const char * nam char * * scsinames = 0; int numscsi = 0; numscsi = get_dev_names_cam(&scsinames, 1); if (numscsi < 0) { - set_err(ENOMEM); return false; } -- GitLab