aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse_10deg.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-04 20:32:05 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-04 20:32:05 +0100
commit9e587b7ce05ce756e23dcd6ffabd4cd3adb814b5 (patch)
tree1a0b140e8e9d6672a764d59c1f379ef8ab618364 /src/parse_10deg.c
parent... (diff)
downloadradharc-9e587b7ce05ce756e23dcd6ffabd4cd3adb814b5.tar.gz
radharc-9e587b7ce05ce756e23dcd6ffabd4cd3adb814b5.tar.bz2
radharc-9e587b7ce05ce756e23dcd6ffabd4cd3adb814b5.tar.xz
split out libhaiku from radharc
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/parse_10deg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parse_10deg.c b/src/parse_10deg.c
index aacf852..eb562c5 100644
--- a/src/parse_10deg.c
+++ b/src/parse_10deg.c
@@ -14,7 +14,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "haiku.h"
#include "blackbody.h"
#include "macros.h"
#include <sys/stat.h>
@@ -59,6 +58,6 @@ int main(int argc, char *argv[])
t (fstat(STDOUT_FILENO, &attr));
return ((size_t)(attr.st_size) != (TEMPERATURES + 1) * 5 * sizeof(double));
fail:
- return haiku(argc ? *argv : "parse_10deg"), 1;
+ return perror(argc ? *argv : "parse_10deg"), 1;
}