diff options
author | Russ Cox <rsc@swtch.com> | 2008-06-14 23:04:44 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-06-14 23:04:44 -0400 |
commit | 13096891711f32d8a7dca3e1ba9cced908752c14 (patch) | |
tree | 394c198f82e58c0001aab1f5fce351d5848fc208 /src/libventi/packet.c | |
parent | 5f1eaee2ab6c8d1b67ec6b1812c38e6e487569e4 (diff) | |
download | plan9port-13096891711f32d8a7dca3e1ba9cced908752c14.tar.gz plan9port-13096891711f32d8a7dca3e1ba9cced908752c14.tar.bz2 plan9port-13096891711f32d8a7dca3e1ba9cced908752c14.zip |
libventi: return value nits
Diffstat (limited to 'src/libventi/packet.c')
-rw-r--r-- | src/libventi/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libventi/packet.c b/src/libventi/packet.c index 2c3dcd77..d19d8537 100644 --- a/src/libventi/packet.c +++ b/src/libventi/packet.c @@ -888,7 +888,7 @@ memalloc(int n, int pos) if(n < 0 || n > MaxFragSize) { werrstr(EPacketSize); - return 0; + return nil; } if(n <= SmallMemSize) { lock(&freelist.lk); |