diff options
author | David Greenman <dg@FreeBSD.org> | 1995-02-15 14:29:26 +0000 |
---|---|---|
committer | David Greenman <dg@FreeBSD.org> | 1995-02-15 14:29:26 +0000 |
commit | 2ee6a63f1f67a11e38dde67c6be5b6611d5c8b50 (patch) | |
tree | 1e9f18deb3ba821a5f2770647c715c06a89bcae0 /sbin/mount_cd9660/mount_cd9660.c | |
parent | 8a978495e7c0717a3cc6b8c49e445fa403aa9c7f (diff) | |
download | src-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.c | 2 |
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); } |