aboutsummaryrefslogtreecommitdiff
path: root/src/libacme/acme.c
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
commit02d7aa8915f9c3a3288dab01f321eb94ba219e3b (patch)
treef053238978479e408a2b83571443e132f30586ab /src/libacme/acme.c
parentc0c9d8f883dfd3a7f5a74499d91bb95884b15873 (diff)
parent3d1382b98a502d0c34d5ba2c462396acc515016e (diff)
downloadplan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.gz
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.bz2
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/libacme/acme.c')
-rw-r--r--src/libacme/acme.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libacme/acme.c b/src/libacme/acme.c
index 8904b4c2..3fd9d4fc 100644
--- a/src/libacme/acme.c
+++ b/src/libacme/acme.c
@@ -45,7 +45,7 @@ openwin(int id, CFid *ctl)
{
char buf[100];
Win *w;
-
+
mountacme();
if(ctl == nil){
snprint(buf, sizeof buf, "%d/ctl", id);
@@ -166,7 +166,7 @@ int
winopenfd(Win *w, char *name, int mode)
{
char buf[100];
-
+
snprint(buf, sizeof buf, "%d/%s", w->id, name);
return fsopenfd(acmefs, buf, mode);
}
@@ -243,7 +243,7 @@ winreadaddr(Win *w, uint *q1)
char buf[40], *p;
uint q0;
int n;
-
+
n = fspread(wfid(w, "addr"), buf, sizeof buf-1, 0);
if(n <= 0)
return -1;
@@ -271,7 +271,7 @@ winmread(Win *w, char *file)
{
char *buf;
int n, tot, m;
-
+
m = 128;
buf = emalloc(m+1);
tot = 0;
@@ -568,7 +568,7 @@ eventreader(void *v)
Event e[2];
Win *w;
int i;
-
+
w = v;
i = 0;
for(;;){