diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-29 19:52:21 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-29 19:52:21 +0000 |
commit | 968dbf9685670f852af63d8ae817ea26e7a5e528 (patch) | |
tree | d6a6cd4614cc7ef97baded7f66986c2414145d63 /console-tools | |
parent | dfc0740b044cad91100bae35fa060b31a88f40ce (diff) | |
download | busybox-w32-968dbf9685670f852af63d8ae817ea26e7a5e528.tar.gz busybox-w32-968dbf9685670f852af63d8ae817ea26e7a5e528.tar.bz2 busybox-w32-968dbf9685670f852af63d8ae817ea26e7a5e528.zip |
minor fix in comment, no code changes
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/chvt.c | 2 | ||||
-rw-r--r-- | console-tools/deallocvt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c index 8390c6001..ea96d1360 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c | |||
@@ -26,7 +26,7 @@ int chvt_main(int argc, char **argv) | |||
26 | 26 | ||
27 | fd = get_console_fd(); | 27 | fd = get_console_fd(); |
28 | num = xatou_range(argv[1], 1, 63); | 28 | num = xatou_range(argv[1], 1, 63); |
29 | /* double cast suppresses "cast to ptr from int of different size */ | 29 | /* double cast suppresses "cast to ptr from int of different size" */ |
30 | xioctl(fd, VT_ACTIVATE, (void *)(ptrdiff_t)num); | 30 | xioctl(fd, VT_ACTIVATE, (void *)(ptrdiff_t)num); |
31 | xioctl(fd, VT_WAITACTIVE, (void *)(ptrdiff_t)num); | 31 | xioctl(fd, VT_WAITACTIVE, (void *)(ptrdiff_t)num); |
32 | return EXIT_SUCCESS; | 32 | return EXIT_SUCCESS; |
diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index 48783fbb1..117224560 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c | |||
@@ -31,7 +31,7 @@ int deallocvt_main(int argc, char **argv) | |||
31 | bb_show_usage(); | 31 | bb_show_usage(); |
32 | } | 32 | } |
33 | 33 | ||
34 | /* double cast suppresses "cast to ptr from int of different size */ | 34 | /* double cast suppresses "cast to ptr from int of different size" */ |
35 | xioctl(get_console_fd(), VT_DISALLOCATE, (void *)(ptrdiff_t)num); | 35 | xioctl(get_console_fd(), VT_DISALLOCATE, (void *)(ptrdiff_t)num); |
36 | return EXIT_SUCCESS; | 36 | return EXIT_SUCCESS; |
37 | } | 37 | } |