aboutsummaryrefslogtreecommitdiff
path: root/jim-posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'jim-posix.c')
-rw-r--r--jim-posix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/jim-posix.c b/jim-posix.c
index a4ba61e..e9d5bc3 100644
--- a/jim-posix.c
+++ b/jim-posix.c
@@ -137,9 +137,7 @@ static int Jim_PosixUptimeCommand(Jim_Interp *interp, int argc, Jim_Obj *const *
int Jim_posixInit(Jim_Interp *interp)
{
- if (Jim_PackageProvide(interp, "posix", "1.0", JIM_ERRMSG))
- return JIM_ERR;
-
+ Jim_PackageProvideCheck(interp, "posix");
#ifdef HAVE_FORK
Jim_CreateCommand(interp, "os.fork", Jim_PosixForkCommand, NULL, NULL);
#endif