summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libnetworking/sys/sysctl.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 04c1eccb61..b39a9567f3 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * libnetworking/sys/sysctl.h: Change sysctl_oid->arg2 into int32_t
+ for 16bit target compliance.
+
2010-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/fts.c (fts_pow2): Rebase fts_pow2 on
diff --git a/cpukit/libnetworking/sys/sysctl.h b/cpukit/libnetworking/sys/sysctl.h
index 1758890628..ad321fa229 100644
--- a/cpukit/libnetworking/sys/sysctl.h
+++ b/cpukit/libnetworking/sys/sysctl.h
@@ -151,7 +151,7 @@ struct sysctl_oid {
int oid_number;
uint32_t oid_kind;
void *oid_arg1;
- int oid_arg2;
+ int32_t oid_arg2;
const char *oid_name;
int (*oid_handler)(SYSCTL_HANDLER_ARGS);
const char *oid_fmt;