aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-09-25 18:51:01 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2021-09-25 18:52:10 +0000
commit9d324b5ffc8a783ceff2a78dea19602a1d8f045a (patch)
treed4ced5811e67ebbf374344a1e450e738af9a7171 /sbin/mount
parent0def501d143a84714eed0a431d35c43d30546802 (diff)
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index 02242791a7a2..80eda100c66f 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -192,7 +192,7 @@ specified_ro(const char *arg)
optbuf = strdup(arg);
if (optbuf == NULL)
- xo_err(1, NULL);
+ xo_err(1, "strdup failed");
for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
if (strcmp(opt, "ro") == 0) {