From 3f9b8771831e1362e7ca28ac260091bf52867486 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 18 Mar 2026 11:31:44 +0100 Subject: [PATCH] Missing of fadvise is not a fatal error --- cmdline/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/stream.c b/cmdline/stream.c index 999ac913..9f18c067 100644 --- a/cmdline/stream.c +++ b/cmdline/stream.c @@ -65,7 +65,7 @@ STREAM* sopen_read(const char* file, int flags) /* advise sequential access */ ret = posix_fadvise(s->handle[0].f, 0, 0, POSIX_FADV_SEQUENTIAL); if (ret == ENOSYS) { - log_fatal(errno, "WARNING! fadvise() is not supported in this platform. Performance may not be optimal!\n"); + log_error(errno, "WARNING! fadvise() is not supported in this platform. Performance may not be optimal!\n"); /* call is not supported, like in armhf, see posix_fadvise manpage */ ret = 0; }