A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore another generated file
[simgrid.git]
/
tools
/
tesh
/
signal.c
diff --git
a/tools/tesh/signal.c
b/tools/tesh/signal.c
index
a38c914
..
204d52a
100644
(file)
--- a/
tools/tesh/signal.c
+++ b/
tools/tesh/signal.c
@@
-1,7
+1,7
@@
/* signal -- what TESH needs to know about signals */
/* signal -- what TESH needs to know about signals */
-/* Copyright (c) 2007
Martin Quinson. */
-
/
* All rights reserved. */
+/* Copyright (c) 2007
-2010, 2012-2014. The SimGrid Team.
+
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-48,7
+48,7
@@
static const s_signal_entry_t signals[] = {
};
};
-const char *signal_name(
unsigned
int got, char *expected)
+const char *signal_name(int got, char *expected)
{
int i;
{
int i;
@@
-61,5
+61,5
@@
const char *signal_name(unsigned int got, char *expected)
if (signals[i].number == got)
return (signals[i].name);
if (signals[i].number == got)
return (signals[i].name);
- return bprintf("SIG UNKNOWN (%
d
)", got);
+ return bprintf("SIG UNKNOWN (%
u
)", got);
}
}