diff options
Diffstat (limited to 'bcache-register.c')
-rw-r--r-- | bcache-register.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bcache-register.c b/bcache-register.c index e22d80b..ae3a2ba 100644 --- a/bcache-register.c +++ b/bcache-register.c @@ -18,10 +18,10 @@ int main(int argc, char *argv[]) return 1; } - fd = open("/sys/fs/bcache/register_quiet", O_WRONLY); + fd = open("/sys/fs/bcache/register", O_WRONLY); if (fd < 0) { - perror("Error opening /sys/fs/bcache/register_quiet"); + perror("Error opening /sys/fs/bcache/register"); fprintf(stderr, "The bcache kernel module must be loaded\n"); return 1; } |