aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_cd9660/mount_cd9660.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-02-15 14:29:26 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-02-15 14:29:26 +0000
commit2ee6a63f1f67a11e38dde67c6be5b6611d5c8b50 (patch)
tree1e9f18deb3ba821a5f2770647c715c06a89bcae0 /sbin/mount_cd9660/mount_cd9660.c
parent8a978495e7c0717a3cc6b8c49e445fa403aa9c7f (diff)
downloadsrc-2ee6a63f1f67a11e38dde67c6be5b6611d5c8b50.tar.gz
src-2ee6a63f1f67a11e38dde67c6be5b6611d5c8b50.zip
Include the special device in the error output so that it makes sense.
Notes
Notes: svn path=/head/; revision=6442
Diffstat (limited to 'sbin/mount_cd9660/mount_cd9660.c')
-rw-r--r--sbin/mount_cd9660/mount_cd9660.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount_cd9660/mount_cd9660.c b/sbin/mount_cd9660/mount_cd9660.c
index e909177a897d..8ceaec019076 100644
--- a/sbin/mount_cd9660/mount_cd9660.c
+++ b/sbin/mount_cd9660/mount_cd9660.c
@@ -131,7 +131,7 @@ main(argc, argv)
}
if (mount(vfc ? vfc->vfc_index : MOUNT_CD9660, dir, mntflags, &args) < 0)
- err(1, NULL);
+ err(1, "%s", dev);
exit(0);
}