X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Flinux-os.c;h=6724d15719cf71666bcd946e91f7733cc2ee354e;hb=85483d976cc2d779493985f77f39efefb2ea622b;hp=8fe0ca79ca5405a532e3b6322994a3c3877f11b4;hpb=cd968d3af54bf2c75ac8e838e3216500d23d28e7;p=sbcl.git diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c index 8fe0ca7..6724d15 100644 --- a/src/runtime/linux-os.c +++ b/src/runtime/linux-os.c @@ -141,7 +141,7 @@ os_init(char *argv[], char *envp[]) futex_wait(futex,-1); if(errno==ENOSYS) { lose("This version of sbcl is compiled with threading support, but your kernel is too old to support this.\n\ -Please use a more recent kernel or a version of SBCL without threading support.\n"); +Please use a more recent kernel or a version of sbcl without threading support.\n"); } if(! isnptl()) { lose("This version of sbcl only works correctly with the NPTL threading library. Please use a newer glibc, older sbcl or stop using LD_ASSUME_KERNEL"); @@ -169,7 +169,7 @@ Please use a more recent kernel or a version of SBCL without threading support.\ * name of the process as "exe". */ char runtime[PATH_MAX+1]; - int i = readlink("/proc/self/exe", runtime, PATH_MAX) != -1; + int i = readlink("/proc/self/exe", runtime, PATH_MAX); if (i != -1) { runtime[i] = '\0'; execve(runtime, argv, envp);