Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2025 10:41:47 GMT
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 69ede18b950e - main - virtual_oss(8): Use proper format specifier for uintmax_t *
Message-ID:  <202509291041.58TAflhv077314@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=69ede18b950e32317d7741410cde7543fa0fce3c

commit 69ede18b950e32317d7741410cde7543fa0fce3c
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-09-29 10:40:10 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-09-29 10:40:10 +0000

    virtual_oss(8): Use proper format specifier for uintmax_t *
    
    Fixes armv7 build.
    
    Reported by:    CI
    Fixes:          9cab9fde5eda ("virtual_oss: Port to base")
    Sponsored by:   The FreeBSD Foundation
    MFC after:      4 days
---
 usr.sbin/virtual_oss/virtual_oss/httpd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/virtual_oss/virtual_oss/httpd.c b/usr.sbin/virtual_oss/virtual_oss/httpd.c
index c05d5839e96b..faea44f07f26 100644
--- a/usr.sbin/virtual_oss/virtual_oss/httpd.c
+++ b/usr.sbin/virtual_oss/virtual_oss/httpd.c
@@ -483,7 +483,7 @@ voss_httpd_handle_connection(vclient_t *pvc, int fd, const struct sockaddr_in *s
 		} else if (page < 0 && strstr(line, "GET /stream.m3u") == line) {
 			page = 2;
 		} else if (strstr(line, "Range: bytes=") == line &&
-		    sscanf(line, "Range: bytes=%zu-%zu", &r_start, &r_end) >= 1) {
+		    sscanf(line, "Range: bytes=%ju-%ju", &r_start, &r_end) >= 1) {
 			is_partial = true;
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509291041.58TAflhv077314>