summaryrefslogtreecommitdiff
path: root/console-tools/chvt.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-10-29 19:52:21 +0000
committerDenis Vlasenko2007-10-29 19:52:21 +0000
commit968dbf9685670f852af63d8ae817ea26e7a5e528 (patch)
treed6a6cd4614cc7ef97baded7f66986c2414145d63 /console-tools/chvt.c
parentdfc0740b044cad91100bae35fa060b31a88f40ce (diff)
downloadbusybox-968dbf9685670f852af63d8ae817ea26e7a5e528.zip
busybox-968dbf9685670f852af63d8ae817ea26e7a5e528.tar.gz
minor fix in comment, no code changes
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r--console-tools/chvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c
index 8390c60..ea96d13 100644
--- a/console-tools/chvt.c
+++ b/console-tools/chvt.c
@@ -26,7 +26,7 @@ int chvt_main(int argc, char **argv)
fd = get_console_fd();
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_WAITACTIVE, (void *)(ptrdiff_t)num);
return EXIT_SUCCESS;