summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-24 12:10:37 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-24 12:10:37 +0000
commit3de7a4ec7f37be853bf2c12b0f42e46cb3efb4ff (patch)
tree708b45be48c91fd8dd2539af93a158ed0aceb5fa
parent55fc11ad574fdface3f93a0c10965511fdcfd69b (diff)
downloadperl-3de7a4ec7f37be853bf2c12b0f42e46cb3efb4ff.tar.gz
Don't try to print ints as IVs.
p4raw-id: //depot/perl@12617
-rw-r--r--ext/Time/HiRes/HiRes.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/Time/HiRes/HiRes.xs b/ext/Time/HiRes/HiRes.xs
index dcc51e90e8..08fe5cc6e4 100644
--- a/ext/Time/HiRes/HiRes.xs
+++ b/ext/Time/HiRes/HiRes.xs
@@ -429,13 +429,13 @@ sleep(...)
#ifdef HAS_UALARM
-IV
+int
ualarm(useconds,interval=0)
int useconds
int interval
CODE:
if (useconds < 0 || interval < 0)
- croak("Time::HiRes::ualarm(%"IVdf", %"IVdf"): negative time not invented yet", useconds, interval);
+ croak("Time::HiRes::ualarm(%d, %d): negative time not invented yet", useconds, interval);
RETVAL = ualarm(useconds, interval);
OUTPUT: