summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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