diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
commit | bdfd0d78bc44e73d693510e70087857785b3b521 (patch) | |
tree | 153a573095afac8d8d0ea857759ecabd77fb28b7 /networking/hostname.c | |
parent | 9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff) | |
download | busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2 busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.zip |
Major rework of the directory structure and the entire build system.
-Erik
Diffstat (limited to 'networking/hostname.c')
-rw-r--r-- | networking/hostname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/hostname.c b/networking/hostname.c index d87851509..7a26c1b2c 100644 --- a/networking/hostname.c +++ b/networking/hostname.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * $Id: hostname.c,v 1.30 2001/06/26 02:06:08 bug1 Exp $ | 3 | * $Id: hostname.c,v 1.31 2001/10/24 04:59:56 andersen Exp $ |
4 | * Mini hostname implementation for busybox | 4 | * Mini hostname implementation for busybox |
5 | * | 5 | * |
6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> | 6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> |
@@ -49,7 +49,7 @@ static void do_sethostname(char *s, int isfile) | |||
49 | } else { | 49 | } else { |
50 | f = xfopen(s, "r"); | 50 | f = xfopen(s, "r"); |
51 | fgets(buf, 255, f); | 51 | fgets(buf, 255, f); |
52 | #ifdef BB_FEATURE_CLEAN_UP | 52 | #ifdef CONFIG_FEATURE_CLEAN_UP |
53 | fclose(f); | 53 | fclose(f); |
54 | #endif | 54 | #endif |
55 | chomp(buf); | 55 | chomp(buf); |