From a07e020b6d485037ae592ab7e1bd564bb8a597d4 Mon Sep 17 00:00:00 2001 From: alphaone Date: Fri, 10 Aug 2007 11:48:55 +0000 Subject: * Add missing parameter to write git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2686 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/gsmd/gsmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gsmd/gsmd.c b/src/gsmd/gsmd.c index 23add29..734620e 100644 --- a/src/gsmd/gsmd.c +++ b/src/gsmd/gsmd.c @@ -463,7 +463,7 @@ int main(int argc, char **argv) exit(1); } - write(fd, "\r"); + write(fd, "\r", 1); sleep(1); atcmd_drain(fd); -- cgit v1.2.3