From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 5ED471F85A; Tue, 10 Jul 2018 20:59:09 +0000 (UTC) Date: Tue, 10 Jul 2018 20:59:09 +0000 From: Eric Wong To: cmogstored-public@bogomips.org Subject: [PATCH 2/1] http_get: show hexadecimal device numbers Message-ID: <20180710205909.mrhdnqsxcbikmqtx@dcvr> References: <20180709073752.21514-1-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180709073752.21514-1-e@80x24.org> List-Id: It's more obvious distinguish major/minor numbers from --- http_get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_get.c b/http_get.c index 154d8c5..156f43f 100644 --- a/http_get.c +++ b/http_get.c @@ -268,7 +268,7 @@ static void sendfile_error(struct mog_fd *file_mfd, int sferr) if (!fstat(file_mfd->fd, &st)) { errno = sferr; syslog(LOG_ERR, -"sendfile on (dev=%lu,ino=%lu) failed at offset=%lld: %m", +"sendfile on (dev=%#lx,ino=%lu) failed at offset=%lld: %m", (unsigned long)st.st_dev, (unsigned long)st.st_ino, (long long)file->foff); } -- EW