]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/miscfs/devfs/devfs_vfsops.c
xnu-2422.115.4.tar.gz
[apple/xnu.git] / bsd / miscfs / devfs / devfs_vfsops.c
index f34edc2c52208150f735e2261909d8ec9fff82b9..b40778e88c9cafb195e1ae693fce1d5a03b24db9 100644 (file)
@@ -503,7 +503,7 @@ devfs_kernel_mount(char * mntname)
        NDINIT(&nd, LOOKUP, OP_MOUNT, FOLLOW | LOCKLEAF, UIO_SYSSPACE,
            CAST_USER_ADDR_T(mntname), ctx);
        if ((error = namei(&nd))) {
        NDINIT(&nd, LOOKUP, OP_MOUNT, FOLLOW | LOCKLEAF, UIO_SYSSPACE,
            CAST_USER_ADDR_T(mntname), ctx);
        if ((error = namei(&nd))) {
-           printf("devfs_kernel_mount: failed to find directory '%s', %d", 
+           printf("devfs_kernel_mount: failed to find directory '%s', %d\n", 
                   mntname, error);
            return (error);
        }
                   mntname, error);
            return (error);
        }
@@ -567,7 +567,7 @@ devfs_kernel_mount(char * mntname)
        error = devfs_mount(mp, NULL, USER_ADDR_NULL, ctx);
 
        if (error) {
        error = devfs_mount(mp, NULL, USER_ADDR_NULL, ctx);
 
        if (error) {
-           printf("devfs_kernel_mount: mount %s failed: %d", mntname, error);
+           printf("devfs_kernel_mount: mount %s failed: %d\n", mntname, error);
            mp->mnt_vtable->vfc_refcount--;
 
            vfs_unbusy(mp);
            mp->mnt_vtable->vfc_refcount--;
 
            vfs_unbusy(mp);