mirror of
https://github.com/sheumann/hush.git
synced 2024-12-30 05:29:47 +00:00
minor fix in comment, no code changes
This commit is contained in:
parent
dfc0740b04
commit
968dbf9685
@ -26,7 +26,7 @@ int chvt_main(int argc, char **argv)
|
|||||||
|
|
||||||
fd = get_console_fd();
|
fd = get_console_fd();
|
||||||
num = xatou_range(argv[1], 1, 63);
|
num = xatou_range(argv[1], 1, 63);
|
||||||
/* double cast suppresses "cast to ptr from int of different size */
|
/* double cast suppresses "cast to ptr from int of different size" */
|
||||||
xioctl(fd, VT_ACTIVATE, (void *)(ptrdiff_t)num);
|
xioctl(fd, VT_ACTIVATE, (void *)(ptrdiff_t)num);
|
||||||
xioctl(fd, VT_WAITACTIVE, (void *)(ptrdiff_t)num);
|
xioctl(fd, VT_WAITACTIVE, (void *)(ptrdiff_t)num);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
@ -31,7 +31,7 @@ int deallocvt_main(int argc, char **argv)
|
|||||||
bb_show_usage();
|
bb_show_usage();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* double cast suppresses "cast to ptr from int of different size */
|
/* double cast suppresses "cast to ptr from int of different size" */
|
||||||
xioctl(get_console_fd(), VT_DISALLOCATE, (void *)(ptrdiff_t)num);
|
xioctl(get_console_fd(), VT_DISALLOCATE, (void *)(ptrdiff_t)num);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user