Lines Matching defs:error
46 int error;
48 if ((error = devsw_attach("audio", NULL, &audio_bmajor,
50 panic("audio devsw attach failed: %d", error);
51 if ((error = rump_vfs_makedevnodes(S_IFCHR, "/dev/audio", '0',
53 panic("cannot create audio device nodes: %d", error);
54 if ((error = rump_vfs_makesymlink("audio0", "/dev/audio")) != 0)
55 panic("cannot create audio symlink: %d", error);
56 if ((error = rump_vfs_makedevnodes(S_IFCHR, "/dev/sound", '0',
58 panic("cannot create sound device nodes: %d", error);
59 if ((error = rump_vfs_makesymlink("sound0", "/dev/sound")) != 0)
60 panic("cannot create sound symlink: %d", error);
61 if ((error = rump_vfs_makedevnodes(S_IFCHR, "/dev/audioctl", '0',
63 panic("cannot create audioctl device nodes: %d", error);
64 if ((error = rump_vfs_makesymlink("audioctl0", "/dev/audioctl")) != 0)
65 panic("cannot create audioctl symlink: %d", error);
66 if ((error = rump_vfs_makedevnodes(S_IFCHR, "/dev/mixer", '0',
68 panic("cannot create mixer device nodes: %d", error);
69 if ((error = rump_vfs_makesymlink("mixer0", "/dev/mixer")) != 0)
70 panic("cannot create mixer symlink: %d", error);