aboutsummaryrefslogtreecommitdiff
path: root/libbb/chomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/chomp.c')
-rw-r--r--libbb/chomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/chomp.c b/libbb/chomp.c
index 4fcbb263d..774e533d4 100644
--- a/libbb/chomp.c
+++ b/libbb/chomp.c
@@ -2,7 +2,7 @@
2/* 2/*
3 * Utility routines. 3 * Utility routines.
4 * 4 *
5 * Copyright (C) many different people. 5 * Copyright (C) many different people.
6 * If you wrote this, please acknowledge your work. 6 * If you wrote this, please acknowledge your work.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
@@ -29,7 +29,7 @@
29void chomp(char *s) 29void chomp(char *s)
30{ 30{
31 char *lc = last_char_is(s, '\n'); 31 char *lc = last_char_is(s, '\n');
32 32
33 if(lc) 33 if(lc)
34 *lc = 0; 34 *lc = 0;
35} 35}