diff options
| author | David du Colombier <0intro@gmail.com> | 2013-09-26 20:12:45 +0200 |
|---|---|---|
| committer | David du Colombier <0intro@gmail.com> | 2013-09-26 20:12:45 +0200 |
| commit | b32de4ae73509092107b116fefbc4003fefc35c3 (patch) | |
| tree | 38d805028841990511fbe6a4efc12260a0a0a8e3 /src/cmd/fossil/disk.c | |
| parent | 4b5766580559d101dd1c29cc575b3ffa9f51c2d7 (diff) | |
| download | plan9port-b32de4ae73509092107b116fefbc4003fefc35c3.tar.gz plan9port-b32de4ae73509092107b116fefbc4003fefc35c3.zip | |
fossil: required p9p changes
R=rsc
https://codereview.appspot.com/13352057
Diffstat (limited to 'src/cmd/fossil/disk.c')
| -rw-r--r-- | src/cmd/fossil/disk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/fossil/disk.c b/src/cmd/fossil/disk.c index 8491a4b9..04ea5cdd 100644 --- a/src/cmd/fossil/disk.c +++ b/src/cmd/fossil/disk.c @@ -288,8 +288,10 @@ disk2file(Disk *disk) { static char buf[256]; +#ifndef PLAN9PORT if (fd2path(disk->fd, buf, sizeof buf) < 0) strncpy(buf, "GOK", sizeof buf); +#endif return buf; } |
