]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: rng: Print "Abort" on -EINTR
authorMarek Behún <kabel@kernel.org>
Thu, 4 Apr 2024 07:51:05 +0000 (09:51 +0200)
committerStefan Roese <sr@denx.de>
Thu, 4 Apr 2024 08:45:27 +0000 (10:45 +0200)
commit144c01678a10683657cade783e791a0061d66320
tree76550037fb09cf2751d754a2006850752f3bd541
parent7bdf3cd4aabe9578e00285448d577433b5d7d2b2
cmd: rng: Print "Abort" on -EINTR

In the rng command, print
  Abort
instead of
  Reading RNG failed
if the error number is -EINTR, which can happen if the user pressed
CTRL-C.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
cmd/rng.c