pintos: Fix undefined value warning from Perl on read error.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 9 Feb 2016 04:46:18 +0000 (20:46 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 9 Feb 2016 04:46:18 +0000 (20:46 -0800)
commit161bf03beb0aae6ad38aa884cd534a94737d396a
tree322f6905ce3ea47a312e33e492dd2a130cb03bfe
parentcbf1fae30fd49b3d2495b60ebd53d4c8b919acf1
pintos: Fix undefined value warning from Perl on read error.

When sysread encounters an error, it returns undef, which yields a warning
when compared against 0.  This fixes the problem.
src/utils/pintos