summaryrefslogtreecommitdiff
path: root/libbb/chomp.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-08 17:52:17 +0000
committerDenis Vlasenko2007-05-08 17:52:17 +0000
commit7e84e539de530b2060f0e570fc8f063ed0aaad2f (patch)
treec03518f2059504a513119cf4d499ccf5c7233f83 /libbb/chomp.c
parent92c0b8222eb50dd35c06e2f1265706b388762234 (diff)
downloadbusybox-7e84e539de530b2060f0e570fc8f063ed0aaad2f.zip
busybox-7e84e539de530b2060f0e570fc8f063ed0aaad2f.tar.gz
cryptpw: new applet (a bit less than 3k added)
(by Thomas Lundquist <lists@zelow.no>)
Diffstat (limited to 'libbb/chomp.c')
-rw-r--r--libbb/chomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/chomp.c b/libbb/chomp.c
index eab7707..8ffaff5 100644
--- a/libbb/chomp.c
+++ b/libbb/chomp.c
@@ -15,5 +15,5 @@ void chomp(char *s)
char *lc = last_char_is(s, '\n');
if (lc)
- *lc = 0;
+ *lc = '\0';
}