Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/examples/rump/sdread Pause after probe here too, so th...



details:   https://anonhg.NetBSD.org/src/rev/9145df45eda3
branches:  trunk
changeset: 752812:9145df45eda3
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Mar 07 23:18:17 2010 +0000

description:
Pause after probe here too, so that you can amuse yourself by
unplugging and replugging devices and looking at the detach/attach
feedback messages.

diffstat:

 share/examples/rump/sdread/sdread.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5e37da46f4b0 -r 9145df45eda3 share/examples/rump/sdread/sdread.c
--- a/share/examples/rump/sdread/sdread.c       Sun Mar 07 19:10:10 2010 +0000
+++ b/share/examples/rump/sdread/sdread.c       Sun Mar 07 23:18:17 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdread.c,v 1.3 2010/02/17 20:43:35 pooka Exp $ */
+/*     $NetBSD: sdread.c,v 1.4 2010/03/07 23:18:17 pooka Exp $ */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -86,6 +86,7 @@
                rump_boot_sethowto(RUMP_AB_VERBOSE);
        rump_init();
        if (probeonly) {
+               pause();
                exit(0);
        }
 



Home | Main Index | Thread Index | Old Index