diff --git a/mach/sun2/cv/cv.c b/mach/sun2/cv/cv.c index c19398f2e..bb1ce604f 100644 --- a/mach/sun2/cv/cv.c +++ b/mach/sun2/cv/cv.c @@ -392,7 +392,7 @@ put(l,sz) long l; { char buf[10]; - register char *p; + register char *p = buf; *p++ = l >> 24; *p++ = l >> 16; diff --git a/mach/sun3/cv/cv.c b/mach/sun3/cv/cv.c index c19398f2e..bb1ce604f 100644 --- a/mach/sun3/cv/cv.c +++ b/mach/sun3/cv/cv.c @@ -392,7 +392,7 @@ put(l,sz) long l; { char buf[10]; - register char *p; + register char *p = buf; *p++ = l >> 24; *p++ = l >> 16;