about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/reboot.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-02 09:26:53 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-02 09:26:53 +0000
commitb1418d8f39dd2b26fd67c3350493431f99514285 (patch)
treef94f5c7d8b0577b7ce43b9f9200bdf3c75e9792e /sysdeps/unix/sysv/linux/reboot.c
parent5b3ce86c1ccd1bf7b463e3bc59077c9cf632cfa0 (diff)
downloadglibc-b1418d8f39dd2b26fd67c3350493431f99514285.tar.gz
glibc-b1418d8f39dd2b26fd67c3350493431f99514285.tar.xz
glibc-b1418d8f39dd2b26fd67c3350493431f99514285.zip
Update.
1999-02-02  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/reboot.c: Make sure first parameter is
	correctly passed to the kernel even on 64bit platforms.
	Patch by Bruce Elliott <bde@nwlink.com>.

	* localedata/locales/it_CH: New file.
	Contributed by Giacomo Amabile Catenazzi <gcatenaz@g26.ethz.ch>.
Diffstat (limited to 'sysdeps/unix/sysv/linux/reboot.c')
-rw-r--r--sysdeps/unix/sysv/linux/reboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/reboot.c b/sysdeps/unix/sysv/linux/reboot.c
index 1a01ec2f61..11cef30e13 100644
--- a/sysdeps/unix/sysv/linux/reboot.c
+++ b/sysdeps/unix/sysv/linux/reboot.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -28,5 +28,5 @@ extern int __syscall_reboot (int magic, int magic_too, int flag);
 int
 reboot (int howto)
 {
-  return INLINE_SYSCALL (reboot, 3, 0xfee1dead, 672274793, howto);
+  return INLINE_SYSCALL (reboot, 3, (int) 0xfee1dead, 672274793, howto);
 }