main: fix typo

This commit is contained in:
Thomas Schoebel-Theuer 2021-01-19 15:07:04 +01:00
parent 18af01baf1
commit 57eaf3c66b
1 changed files with 1 additions and 1 deletions

View File

@ -2608,7 +2608,7 @@ void touch_systemd_trigger(const char *filename)
}
if (f && !IS_ERR(f)) {
#ifdef MARS_HAS_KERNEL_READ
(void)kernel_write(f, str, len, dummy_pos);
(void)kernel_write(f, str, len, &dummy_pos);
#else
(void)vfs_write(f, str, len, &dummy_pos);
#endif