Ignore:
Timestamp:
Feb 25, 2011, 9:26:54 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi-busybox/libbb/kernel_version.c

    r1765 r2725  
    55 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
    66 *
    7  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
     7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    88 */
    99
    10 #include <sys/utsname.h>        /* for uname(2) */
     10#include "libbb.h"
     11/* After libbb.h, since it needs sys/types.h on some systems */
     12#include <sys/utsname.h>  /* for uname(2) */
    1113
    12 #include "libbb.h"
    1314
    1415/* Returns current kernel version encoded as major*65536 + minor*256 + patch,
     
    1718 *     if (get_linux_version_code() > KERNEL_VERSION(2,2,11)) { <stuff> }
    1819 */
    19 int get_linux_version_code(void)
     20int FAST_FUNC get_linux_version_code(void)
    2021{
    2122    struct utsname name;
     
    2425
    2526    if (uname(&name) == -1) {
    26         bb_perror_msg("cannot get system information");
     27        bb_perror_msg("can't get system information");
    2728        return 0;
    2829    }
Note: See TracChangeset for help on using the changeset viewer.