summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralphaone <alphaone@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-08-10 11:48:55 +0000
committeralphaone <alphaone@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-08-10 11:48:55 +0000
commita07e020b6d485037ae592ab7e1bd564bb8a597d4 (patch)
tree743ca612b8c7c2915fc28f4721cd709cb5f207af
parent947e4fa6ccf23a1374ce20d71b5fdf76ec490754 (diff)
* Add missing parameter to write
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2686 99fdad57-331a-0410-800a-d7fa5415bdb3
-rw-r--r--src/gsmd/gsmd.c2
1 files changed, 1 insertions, 1 deletions
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);
personal git repositories of Harald Welte. Your mileage may vary