svn commit: trunk/busybox/console-tools
vda at busybox.net
vda at busybox.net
Mon Oct 29 19:52:22 UTC 2007
Author: vda
Date: 2007-10-29 12:52:21 -0700 (Mon, 29 Oct 2007)
New Revision: 20327
Log:
minor fix in comment, no code changes
Modified:
trunk/busybox/console-tools/chvt.c
trunk/busybox/console-tools/deallocvt.c
Changeset:
Modified: trunk/busybox/console-tools/chvt.c
===================================================================
--- trunk/busybox/console-tools/chvt.c 2007-10-29 19:33:26 UTC (rev 20326)
+++ trunk/busybox/console-tools/chvt.c 2007-10-29 19:52:21 UTC (rev 20327)
@@ -26,7 +26,7 @@
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;
Modified: trunk/busybox/console-tools/deallocvt.c
===================================================================
--- trunk/busybox/console-tools/deallocvt.c 2007-10-29 19:33:26 UTC (rev 20326)
+++ trunk/busybox/console-tools/deallocvt.c 2007-10-29 19:52:21 UTC (rev 20327)
@@ -31,7 +31,7 @@
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);
return EXIT_SUCCESS;
}
More information about the busybox-cvs
mailing list