Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-26 23:04:27 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-26 23:04:27 +0300
commit8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 (patch)
treecf13ce448542a36595264ad53397a0633ffedcc8 /util-linux/hexdump.c
parentce7eb4443cc90038aabc19a8b7b8f25e4b88892e (diff)
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
Diffstat (limited to 'util-linux/hexdump.c')
-rw-r--r--util-linux/hexdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c
index 10c57fd61..7630153e7 100644
--- a/util-linux/hexdump.c
+++ b/util-linux/hexdump.c
@@ -23,7 +23,7 @@ static void bb_dump_addfile(char *name)
fp = xfopen(name, "r");
- while ((buf = xmalloc_getline(fp)) != NULL) {
+ while ((buf = xmalloc_fgetline(fp)) != NULL) {
p = skip_whitespace(buf);
if (*p && (*p != '#')) {
@@ -135,7 +135,7 @@ int hexdump_main(int argc, char **argv)
char *buf;
fp = xfopen(*argv, "r");
jump_in:
- while ((buf = xmalloc_getline(fp)) != NULL) {
+ while ((buf = xmalloc_fgetline(fp)) != NULL) {
p = buf;
while (1) {
/* skip address or previous byte */