summaryrefslogtreecommitdiffstats
path: root/sys-utils/zramctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/zramctl.c')
-rw-r--r--sys-utils/zramctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/zramctl.c b/sys-utils/zramctl.c
index 171380556..853401caf 100644
--- a/sys-utils/zramctl.c
+++ b/sys-utils/zramctl.c
@@ -216,7 +216,7 @@ static struct sysfs_cxt *zram_get_sysfs(struct zram *z)
if (sysfs_init(&z->sysfs, devno, NULL))
return NULL;
if (*z->devname != '/') {
- /* cannonicalize the device name according to /sys */
+ /* canonicalize the device name according to /sys */
char name[PATH_MAX];
if (sysfs_get_devname(&z->sysfs, name, sizeof(name)))
snprintf(z->devname, sizeof(z->devname), "/dev/%s", name);