Index: lib/libc/gen/err.3 =================================================================== --- lib/libc/gen/err.3 +++ lib/libc/gen/err.3 @@ -28,7 +28,7 @@ .\" From: @(#)err.3 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd March 29, 2012 +.Dd December 16, 2020 .Dt ERR 3 .Os .Sh NAME @@ -196,7 +196,7 @@ warnx("%s: %s: trying the block device", raw_device, strerror(errno)); if ((fd = open(block_device, O_RDONLY, 0)) == -1) - err(EX_OSFILE, "%s", block_device); + warn(EX_OSFILE, "%s", block_device); .Ed .Pp Warn of an error without using the global variable