summaryrefslogtreecommitdiff
path: root/ioctl.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2004-10-06 22:27:43 +0000
committerRoland McGrath <roland@redhat.com>2004-10-06 22:27:43 +0000
commitd83c50b8e44db2a2e19d048ab7d1e1caf1fa1996 (patch)
tree69b1a56800f790069ed3ca90245707e792696b7d /ioctl.c
parentd2553bbb8728f83bce358eaba0396255279da62c (diff)
downloadstrace-d83c50b8e44db2a2e19d048ab7d1e1caf1fa1996.tar.gz
strace-d83c50b8e44db2a2e19d048ab7d1e1caf1fa1996.tar.bz2
strace-d83c50b8e44db2a2e19d048ab7d1e1caf1fa1996.tar.xz
2004-09-13 Ulrich Drepper <drepper@redhat.com>, Dmitry V. Levin <ldv@altlinux.org>
* time.c [LINUX] (print_rtc): New function, for printing rtc_time structure. [LINUX] (rtc_ioctl): New function, for parsing RTC_* ioctls. * ioctl.c [LINUX] (ioctl_decode): Call rtc_ioctl. * defs.h [LINUX]: Declare rtc_ioctl. Fixes RH#58606.
Diffstat (limited to 'ioctl.c')
-rw-r--r--ioctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ioctl.c b/ioctl.c
index 814caf0..aba69c7 100644
--- a/ioctl.c
+++ b/ioctl.c
@@ -149,6 +149,10 @@ long code, arg;
case 'S':
return stream_ioctl(tcp, code, arg);
#endif /* HAVE_SYS_STREAM_H */
+#ifdef LINUX
+ case 'p':
+ return rtc_ioctl(tcp, code, arg);
+#endif
default:
break;
}