Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/chardev.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ static ssize_t device_read(struct file *filp, /* see include/linux/fs.h */
return bytes_read;
}

/* Called when a process writes to dev file: echo "hi" > /dev/hello */
/* Called when a process writes to dev file: echo "hi" | sudo tee /dev/chardev */
static ssize_t device_write(struct file *filp, const char __user *buff,
size_t len, loff_t *off)
{
Expand Down